chapter
    Differentiability and Optimization Short Notes for GATE CS

    Differentiability and Optimization short notes for GATE CS: 4 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice question

    differentiability and optimization short notes

    Final Revision Checklist

    Final Revision Checklist

    Differentiability Implies Continuity: Always check/set continuity first.
    The Two Conditions: At any joint , you need AND .
    Shortcut: If continuity is established, just differentiate the left and right pieces and evaluate at the joint.
    Absolute Values: Rewrite as a piecewise function to find joints and check differentiability.
    System of Equations: Each joint provides two equations (one for value, one for slope). Use them to solve for unknown constants.
    Worked Example Answer

    Final Checklist

    Quick Revision

    Find Intersections: Solve for all real .

    Check Derivatives: Evaluate and at each intersection.

    Match = Smooth: If , it is differentiable.

    Mismatch = Corner: If , it is not differentiable.

    Identity Backup:

    The Extrema Checklist

    Final Exam Checklist

    • Domain & Structure: Note any or piecewise boundaries.
    • Find Critical Points: Solve and identify where is undefined.
    • Check Corners: For or piecewise functions, verify differentiability at boundaries using left/right limits.
    • Classify Interior Points:
      • Use Second Derivative Test for smooth functions.
      • Use First Derivative Test if or at non-differentiable corners.
    • Check Endpoints: If on a closed interval , evaluate and to determine global extrema.

    1 more card in this chapter

    Try a question

    Answer it here to see how it works. Nothing is recorded until you sign in.

    Question 1
    Level 1: Warm-up

    Let for . Which of the following statements is true regarding the differentiability of ?

    Question 2
    Level 1: Warm-up

    Consider the piecewise function defined by

    where is a real constant. If is differentiable at , what is the value of ?

    Question 3
    Level 1: Warm-up

    Consider the following assertion and reason:

    <b>Assertion (A):</b> The function is differentiable at .

    <b>Reason (R):</b> The curves and intersect at and have the same derivative at .

    Question 4
    Level 1: Warm-up

    A piecewise function has exactly one joint at and contains two unknown real constants and . If is given to be differentiable everywhere, what is the minimum number of independent equations you must formulate to uniquely determine the values of and ?

    Question 5
    Level 1: Warm-up

    Let for . How many points of non-differentiability does have?

    Question 6
    Level 1: Warm-up

    Consider the function . At how many distinct points in the interval is NOT differentiable?

    Question 7
    Level 1: Warm-up

    A function is differentiable for all real and has a local maximum at . What is the exact value of ?

    Question 8
    Level 1: Warm-up

    Let on the closed interval . Which of the following statements about the extrema of is TRUE?

    Question 9
    Level 1: Warm-up

    Let . What is the maximum of the left-hand derivative and the right-hand derivative of at the boundary ?

    Question 10
    Level 1: Warm-up

    Consider the function . Which of the following statements is true regarding its local extrema?

    Free preview ends here

    Login to view the complete short notes

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Differentiability and Optimization Short Notes for GATE CS

    Differentiability and Optimization short notes for GATE CS: 4 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice questions.

    Final Revision Checklist

    Final Revision Checklist

    Differentiability Implies Continuity: Always check/set continuity first.
    The Two Conditions: At any joint , you need AND .
    Shortcut: If continuity is established, just differentiate the left and right pieces and evaluate at the joint.
    Absolute Values: Rewrite as a piecewise function to find joints and check differentiability.
    System of Equations: Each joint provides two equations (one for value, one for slope). Use them to solve for unknown constants.
    Worked Example Answer

    Final Checklist

    Quick Revision

    Find Intersections: Solve for all real .

    Check Derivatives: Evaluate and at each intersection.

    Match = Smooth: If , it is differentiable.

    Mismatch = Corner: If , it is not differentiable.

    Identity Backup:

    The Extrema Checklist

    Final Exam Checklist

    • Domain & Structure: Note any or piecewise boundaries.
    • Find Critical Points: Solve and identify where is undefined.
    • Check Corners: For or piecewise functions, verify differentiability at boundaries using left/right limits.
    • Classify Interior Points:
      • Use Second Derivative Test for smooth functions.
      • Use First Derivative Test if or at non-differentiable corners.
    • Check Endpoints: If on a closed interval , evaluate and to determine global extrema.

    The MVT and Bounds Checklist

    Final Exam Checklist

    • Verify Conditions: Is continuous on and differentiable on ? If no, stop.
    • Identify Bounds: What are the limits on ? (e.g., ).
    • Write MVT Equation: .
    • Substitute Bounds: Replace with and to bound the difference .
    • Isolate Target: Add to find the final bounds for .
    • Check Absolute Values: If given , remember to use .

    Differentiability and Optimization: Solved Questions with Step-by-Step Explanations (10 Problems)

    Question 1 · Engineering Mathematics MCQ

    Let for . Which of the following statements is true regarding the differentiability of ?

    1. A.

      is differentiable everywhere.

    2. B.

      is not differentiable at and .

    3. C.

      is not differentiable at , and .

    4. D.

      is not differentiable only at .

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: The function is non-differentiable only where AND .

    Step 1: Find the intersection points.

    .

    The roots are .

    Step 2: Check the derivatives at each intersection.

    Let and .

    and .

    • At : and . Since , the curves are tangent. is differentiable at .
    • At : and . Since , is NOT differentiable at .
    • At : and . Since , is NOT differentiable at .

    Step 3: Conclusion.

    The function is not differentiable exactly at and .

    Answer: B

    Question 2 · Engineering Mathematics MCQ

    Consider the piecewise function defined by

    where is a real constant. If is differentiable at , what is the value of ?

    1. A.

      0

    2. B.

      1

    3. C.

      2

    4. D.

      3

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: Differentiability at a joint requires continuity first, then equal left and right derivatives.

    Step 1: Check the derivatives at .

    Left-hand derivative (LHD) = .

    Right-hand derivative (RHD) = . At , RHD = .

    Since LHD = RHD = 2, the derivative condition is satisfied regardless of .

    Step 2: Apply the continuity condition at .

    Left limit = .

    Right limit = .

    For continuity, Left limit = Right limit .

    Answer: 2

    Question 3 · Engineering Mathematics MCQ

    Consider the following assertion and reason:

    <b>Assertion (A):</b> The function is differentiable at .

    <b>Reason (R):</b> The curves and intersect at and have the same derivative at .

    1. A.

      Both A and R are true, and R is the correct explanation of A.

    2. B.

      Both A and R are true, but R is not the correct explanation of A.

    3. C.

      A is true, but R is false.

    4. D.

      A is false, but R is true.

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: Evaluate the truth of the assertion and the reason independently, then check if the reason explains the assertion.

    Step 1: Analyze the Assertion (A).

    . At , the curves and intersect.

    For , , so . Derivative is 0.

    For , , so . Derivative is , which approaches 0 as .

    Since the left and right derivatives match (both are 0), is indeed differentiable at .

    Assertion (A) is True.

    Step 2: Analyze the Reason (R).

    The curves and intersect at (since ).

    The derivative of is . At , it is 0.

    The derivative of is 0.

    Since both derivatives are 0 at , they have the same derivative.

    Reason (R) is True.

    Step 3: Link A and R.

    The reason is differentiable at the intersection is precisely because the derivatives match, making the transition smooth. Thus, R correctly explains A.

    Answer: A

    Question 4 · Engineering Mathematics MCQ

    A piecewise function has exactly one joint at and contains two unknown real constants and . If is given to be differentiable everywhere, what is the minimum number of independent equations you must formulate to uniquely determine the values of and ?

    1. A.

      1

    2. B.

      2

    3. C.

      3

    4. D.

      4

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: Differentiability at a joint provides exactly two independent constraints: one for continuity and one for smoothness.

    Step 1: Analyze the conditions at the joint .

    For to be differentiable at , it must first be continuous at .

    Continuity condition: . This gives 1 equation involving and .

    Step 2: Analyze the differentiability condition.

    The left-hand derivative must equal the right-hand derivative at .

    Differentiability condition: . This gives a 2nd independent equation involving and .

    Step 3: Determine the minimum number of equations.

    Since we have two unknowns ( and ), we need exactly 2 independent equations to uniquely determine them. The joint provides exactly these 2 equations.

    Answer: 2

    Question 5 · Engineering Mathematics MCQ

    Let for . How many points of non-differentiability does have?

    1. A.

      0

    2. B.

      1

    3. C.

      2

    4. D.

      3

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: The function is non-differentiable exactly where and .

    Step 1: Find the intersection points by setting .

    or .

    Step 2: Check the derivatives at these intersection points.

    Let and .

    and .

    At : and . Since , is not differentiable at .

    At : and . Since , is not differentiable at .

    Step 3: Count the points.

    There are exactly 2 points of non-differentiability.

    Answer: 2

    Question 6 · Engineering Mathematics MCQ

    Consider the function . At how many distinct points in the interval is NOT differentiable?

    1. A.

      0

    2. B.

      1

    3. C.

      2

    4. D.

      3

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: An absolute value function is non-differentiable exactly where AND .

    Step 1: Find the roots of the inside function.

    or .

    Both points are within the interval .

    Step 2: Check the derivative of the inside function at these roots.

    Let . Then .

    At , . So is not differentiable at .

    At , . So is not differentiable at .

    Step 3: Count the points.

    There are exactly 2 points where the function is not differentiable.

    Answer: 2

    Question 7 · Engineering Mathematics MCQ

    A function is differentiable for all real and has a local maximum at . What is the exact value of ?

    1. A.

      0

    2. B.

      1

    3. C.

      3

    4. D.

      -1

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a direct application of Fermat's Theorem for stationary points.

    Step 1: Recall Fermat's Theorem.

    If a function has a local extremum (maximum or minimum) at a point , and if is differentiable at , then the derivative at that point must be zero.

    Step 2: Apply the theorem to the given information.

    We are given that has a local maximum at and is differentiable everywhere (including at ).

    Therefore, by Fermat's Theorem, must be exactly 0.

    Answer: 0

    Question 8 · Engineering Mathematics MCQ

    Let on the closed interval . Which of the following statements about the extrema of is TRUE?

    1. A.

      The global maximum occurs at .

    2. B.

      The global minimum occurs at .

    3. C.

      The global maximum occurs at .

    4. D.

      The function has no global extrema on this interval.

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: This is a question about finding global extrema on a closed interval. You must check both critical points and endpoints.

    Step 1: Find the critical points inside the interval .

    . Setting gives .

    Step 2: Evaluate at the critical point and the endpoints.

    At the critical point : .

    At the left endpoint : .

    At the right endpoint : .

    Step 3: Compare the values to find the global extrema.

    The values are 0, 1, and 4.

    The highest value is 4, which occurs at . So the global maximum is at .

    The lowest value is 0, which occurs at . So the global minimum is at .

    Step 4: Match with the options.

    Option C correctly states that the global maximum occurs at .

    Answer: C

    Question 9 · Engineering Mathematics MCQ

    Let . What is the maximum of the left-hand derivative and the right-hand derivative of at the boundary ?

    1. A.

      6

    2. B.

      8

    3. C.

      12

    4. D.

      24

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: Compute the derivative of each piece separately and evaluate them at the boundary point .

    Step 1: Find the left-hand derivative (LHD) at .

    The left piece is .

    .

    At , LHD = .

    Step 2: Find the right-hand derivative (RHD) at .

    The right piece is .

    .

    At , RHD = 6.

    Step 3: Find the maximum of these two values.

    .

    Answer: 12

    Question 10 · Engineering Mathematics MCQ

    Consider the function . Which of the following statements is true regarding its local extrema?

    1. A.

      It has no local minimum because is undefined at .

    2. B.

      It has a local minimum at with a value of .

    3. C.

      It has a local minimum at with a value of .

    4. D.

      It has a local maximum at with a value of .

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a question about non-differentiable extrema. Absolute value functions can have extrema at their corners.

    Step 1: Analyze the function .

    The absolute value is always greater than or equal to 0.

    The minimum value of is 0, which occurs when .

    Step 2: Find the minimum value of .

    At , .

    Since for all , for all .

    Therefore, has a local (and global) minimum at with a value of .

    Step 3: Address the differentiability.

    Although is undefined at (it's a sharp corner), the function still achieves its lowest value there. Extrema do not require differentiability.

    Answer: B

    More short notes in this unit