Q.It is given that at x=1, the function x4−62x2+ax+9 attains its maximum value, on the interval [0,2]. Find the value of a.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Local Maximum Condition
Local Maximum Condition
Imagine hiking in a mountain range. You reach a point where, for a few steps in any direction, the ground drops away. You may not be the highest peak in the whole range, but right here every step goes downhill. That's a local maximum: a point higher than all nearby points.
The Intuition First
On a smooth, wavy curve, a local maximum is a "hilltop" — a point where the function peaks, then falls on both sides. Zoom in and the values just to the left and right are both lower.
"Local" means "in a small neighbourhood." The function might have higher values elsewhere (a global maximum), but that doesn't matter — a local maximum is king of its own tiny kingdom.
The Precise Mathematical Statement
Let f be a real-valued function on a domain D⊆R. A point c∈D is a local maximum if there exists some δ>0 such that for every x in the domain within distance δ of c:
f(x)≤f(c)
That is, on some open interval (c−δ,c+δ), f(c) is the largest value.
The inequality is f(x)≤f(c), not f(x)<f(c). If equality holds for some x=c (a flat plateau), it's still a local maximum — just not a strict one.
The First Derivative Test
If f is differentiable at c and c is a local maximum, then:
f′(c)=0
This is the critical point condition — the tangent is horizontal. But f′(c)=0 is necessary, not sufficient: a horizontal tangent could also be a local minimum or a saddle point (like f(x)=x3 at x=0).
A common mistake: assuming f′(c)=0 guarantees a local extremum. It does not. Check the sign change of the derivative around c, or use the second derivative test.
The Second Derivative Test
If f′(c)=0 and f′′(c)<0, then c is a local maximum: a negative second derivative means f is concave down at c — curving down like an upside-down bowl. If f′′(c)>0, it's a local minimum. If f′′(c)=0, the test is inconclusive.
A Concrete Example
Consider f(x)=−x2+4x−3. …
Concept: Local Maximum Condition — at an interior maximum, the first derivative must be zero.
Let f(x)=x4−62x2+ax+9.
Since x=1 is inside (0,2) and gives a maximum on [0,2], we require f′(1)=0.
Step 1: Differentiate.
f′(x)=4x3−124x+a.
Step 2: Set f′(1)=0. …
For a function to attain its maximum at an interior point of a closed interval, the derivative must be zero there (Fermat’s theorem). Setting f′(1)=0 gives a=120, and checking the second derivative confirms it’s a local maximum.
We have a quartic polynomial
f(x)=x4−62x2+ax+9
and we are told that on the interval [0,2], the maximum value occurs at x=1. Since 1 lies strictly inside (0,2), this is an interior maximum.
Why the derivative must be zero
If a differentiable function has a local maximum at an interior point of an interval, the tangent line there must be horizontal — that is, the first derivative is zero. This is Fermat’s theorem (the interior critical point condition). It does not guarantee a maximum (it could be a minimum or a saddle), but it is a necessary condition.
So the first step is always: set f′(1)=0.
A common mistake is to forget that the maximum is given to be at x=1, so you don’t need to compare endpoints yet. The condition f′(1)=0 is forced by the problem statement — you are not finding the maximum, you are using the fact that it occurs at 1.
Step-by-step
- Differentiate
f′(x)=4x3−124x+a
- Apply the condition Since x=1 is a point of maximum, f′(1)=0:
4(1)3−124(1)+a=0⇒4−124+a=0
a=120
So a=120 is forced.
- Verify it’s actually a maximum (second derivative test)
f′′(x)=12x2−124
At x=1:
f′′(1)=12−124=−112<0
A negative second derivative means the curve is concave down at x=1, confirming a local maximum.
- Check that this local maximum is indeed the global maximum on [0,2] Since the interval is small and the polynomial is continuous, the global maximum on a closed interval occurs either at a critical point or at an endpoint. …
Method: Interior Extremum ⇒ First Derivative Vanishes (Fermat's Condition)
This method solves problems where you're told a function attains a maximum (or minimum) at a specific interior point of an interval, and asked to find an unknown constant in the function.
Steps
Step 1: Confirm the given point is interior, not an endpoint
Fermat's theorem says that if a differentiable function has a local extremum at an interior point c of its domain, then f′(c)=0. This only holds for interior points — if the stated extremum were at an endpoint of a closed interval, the derivative there need not vanish. So the first check is always: is the point strictly between the interval's endpoints?
Step 2: Differentiate the function in general form
Differentiate f(x) term by term, keeping any unknown constant (here a) as a symbol — do not substitute numbers yet.
Step 3: Substitute the given point and set the derivative to zero …
Common Mistakes
Mistake 1: Treating f′(c)=0 as optional or skipping straight to guessing a
Why it's wrong: the entire problem hinges on Fermat's necessary condition for an interior extremum — without recognizing x=1 is interior to (0,2) and setting f′(1)=0, there's no way to pin down a algebraically. Correct approach: always differentiate first, then substitute the given point into f′(x)=0.
Mistake 2: Sign or power-rule slip while differentiating −62x2
Why it's wrong: a rushed differentiation can turn −62x2 into −62x (dropping the power rule) or −124x into +124x (sign slip), both of which silently change the value of a. Correct approach: differentiate term by term carefully — dxd(−62x2)=−124x — and double-check by re-differentiating.
Mistake 3: Forgetting the maximum could also need endpoint comparison …
- AP EAPCET 2021Set eng-2021-08-25-FN1 markMCQQ.Find the absolute maximum of x40−x20 on the interval [0,1]. (A) 4−1 (B) 0 (C) 41 (D) 21
›Reveal solutionSolution
Substituting u=x20 turns the quartic-looking expression into a simple upward parabola in u, whose maximum on a closed interval occurs at an endpoint, not the vertex.
Concept and Intuition
On [0,1], u=x20 also ranges over [0,1] monotonically, so the problem reduces to finding the extrema of g(u)=u2−u on [0,1]. Since g is an upward parabola, its vertex is a MINIMUM, and the maximum must be sought at the endpoints.
Step-by-Step Solution
- Let u=x20; as x ranges over [0,1], so does u (monotonically increasing). f=x40−x20=u2−u.
- g(u)=u2−u, g′(u)=2u−1=0⇒u=21; g′′(u)=2>0, so u=1/2 gives a local MINIMUM: g(1/2)=1/4−1/2=−1/4.
- Check endpoints: g(0)=0, g(1)=1−1=0.
- So on [0,1], g ranges between −1/4 (min, at u=1/2) and 0 (max, at both endpoints u=0,1, i.e. x=0,1). …
- AP EAPCET 2021Set eng-2021-08-24-FN1 markMCQQ.The maximum value of y=x(logx)2 is ____ (A) e−2 (B) 2e−2 (C) 3e−2 (D) 4e−2
›Reveal solutionSolution
Setting y′=0 gives two critical points; sign analysis of the derivative (quadratic in logx) shows x=e−2 is the maximum, with maximum value 4e−2.
Concept and Intuition
For y=x(logx)2 (domain x>0), differentiate using the product rule, then classify critical points via the sign change of y′ around them.
Step-by-Step Solution
- y′=(logx)2+x⋅2(logx)⋅x1=(logx)2+2logx=logx(logx+2).
- Setting y′=0: logx=0⇒x=1, or logx=−2⇒x=e−2.
- y′ is a quadratic in t=logx opening upward: t(t+2). It is negative for t∈(−2,0) and positive outside.
- So for x<e−2 (t<−2), y′>0 (increasing); for e−2<x<1 (−2<t<0), y′<0 (decreasing); for x>1, y′>0 (increasing again). …
- AP EAPCET 2021Set eng-2021-08-25-AN1 markMCQQ.If the function f(x)=asin(x)+31sin(3x) attains maximum value at x=3π, then 'a' equals ________ (A) 3 (B) 31 (C) 2 (D) 21
›Reveal solutionSolution
Setting the derivative to zero at the given critical point directly solves for a. Answer: a=2.
Concept and Intuition
At an interior maximum of a differentiable function, the derivative must vanish. This turns the geometric condition ("attains maximum at x=π/3") into a simple algebraic equation.
Step-by-Step Solution
- f(x)=asinx+31sin3x.
- f′(x)=acosx+cos3x.
- Since f has a maximum at x=π/3: f′(π/3)=0.
- cos(π/3)=21, cos(3⋅π/3)=cosπ=−1.
- a(21)+(−1)=0⇒2a=1⇒a=2. …
- AP EAPCET 2026Set eng-2026-05-15-AN1 markMCQQ.The maximum value of y=x(logx)2 is (A) e−2 (B) 2e−2 (C) 4e−2 (D) 5e−2
›Reveal solutionSolution
This tests locating and classifying critical points of y=x(logx)2; the local maximum (the intended "maximum value") occurs at x=e−2 and equals 4e−2.
Concept and Intuition
The function y=x(logx)2 has domain x>0, dips down near x=0+ (approaching 0), rises to a local max, dips to a local min at x=1 (where y=0), then increases without bound as x→∞. So the question is really asking for the local maximum value, which is the meaningful turning point before the function heads back down toward the min at x=1.
Step-by-Step Solution
- Differentiate using the product rule: y′=(logx)2+x⋅2logx⋅x1=(logx)2+2logx=logx(logx+2).
- Set y′=0: logx=0⇒x=1, or logx=−2⇒x=e−2.
- Differentiate again: y′′=x2logx+x2=x2(logx+1).
- At x=1: y′′=2(0+1)=2>0, so x=1 is a local minimum (y=1⋅0=0). …
- AP EAPCET 2026Set eng-2026-05-14-AN1 markMCQQ.If y=alog∣x∣+bx2+x has its extremum values at x=−1 and x=2, then (a,b)= (A) (2,21) (B) (−2,21) (C) (−2,−21) (D) (2,−21)
›Reveal solutionSolution
Extremum points are where y′=0; writing this condition at both x=−1 and x=2 gives two linear equations in a,b, solved to get a=2, b=−1/2.
Concept and Intuition
At an extremum (local maximum or minimum), the derivative of the function vanishes (assuming the function is differentiable there, which it is away from x=0). Given that extrema occur at two specified points, we simply impose y′=0 at each point — this produces a system of two linear equations in the two unknown constants a and b.
Step-by-Step Solution
- y=alog∣x∣+bx2+x.
- y′=xa+2bx+1.
- Extremum at x=−1: y′(−1)=−1a+2b(−1)+1=−a−2b+1=0⇒a+2b=1. — (i)
- Extremum at x=2: y′(2)=2a+4b+1=0. Multiply by 2: a+8b+2=0⇒a+8b=−2. — (ii)
- Subtract (i) from (ii): (a+8b)−(a+2b)=−2−1⇒6b=−3⇒b=−21. …
- AP EAPCET 2023Set eng-2023-05-15-FN1 markMCQQ.If A={x/9x≥x2+20} and f:A→R is defined by f(x)=2x3−15x2+36x−48, then the maximum value of f(x) is (A) −20 (B) 7 (C) 20 (D) −16
›Reveal solutionSolution
The domain restricts x to [4,5]; since f is strictly increasing on this interval, the maximum value is simply f(5)=7.
Concept and Intuition
First we must find the actual domain A from the given inequality — this restricts where f is even defined. Then, instead of blindly checking critical points of f, we check whether those critical points actually fall inside the restricted domain; if f has no critical points inside [4,5], the maximum must occur at an endpoint.
Step-by-Step Solution
- Solve for the domain A:
9x≥x2+20⟹x2−9x+20≤0⟹(x−4)(x−5)≤0⟹4≤x≤5
So A=[4,5].
- Differentiate f(x)=2x3−15x2+36x−48:
f′(x)=6x2−30x+36=6(x2−5x+6)=6(x−2)(x−3)
-
The critical points are x=2,3 — both outside [4,5]. For x∈[4,5], both (x−2)>0 and (x−3)>0, so f′(x)=6(x−2)(x−3)>0 throughout the interval: f is strictly increasing on [4,5].
-
Since f is increasing on a closed interval with no interior critical points, its maximum occurs at the right endpoint x=5: …
- AP EAPCET 2023Set eng-2023-05-17-AN1 markMCQQ.If f(x)=3x+x12 is continuous on R−{0} and M is its maximum value, then x→Mlimf(x)= (A) 37 (B) −37 (C) 2 (D) −2
›Reveal solutionSolution
This tests locating the extreme values of f(x)=3x+12/x and then evaluating the limit of f at its maximum value; the answer is −37.
Concept and Intuition
f(x)=3x+x12 is unbounded overall on R−{0} (it goes to ±∞), so "its maximum value" refers to the local maximum produced by the turning points of the curve. We locate these via f′(x)=0 and classify with the second derivative.
Step-by-Step Solution
- Differentiate: f′(x)=3−x212.
- Set f′(x)=0: 3=x212⇒x2=4⇒x=±2.
- Second derivative: f′′(x)=x324.
- At x=2: f′′(2)=3>0 — local minimum, value f(2)=6+6=12.
- At x=−2: f′′(−2)=−3<0 — local maximum, value f(−2)=−6−6=−12.
- So M=−12 (the local maximum value). …
- AP EAPCET 2025Set eng-2025-05-23-AN1 markMCQQ.The function f(x)=xe−x ∀x∈R attains a maximum value at x = k, then k = (A) 1 (B) 2 (C) e1 (D) 3
›Reveal solutionSolution
Set f′(x)=0 using the product rule, then confirm it's a maximum (not a
minimum) with the second-derivative test: k=1.
Concept and Intuition
f(x)=xe−x is the classic "rises then falls" shape: for small x the linear
factor x dominates and f grows, but as x grows the exponential decay
e−x eventually wins and drags f back to 0. The turning point between
these two regimes is the unique critical point, found by the product rule.
Step-by-Step Solution
- f(x)=xe−x. By the product rule: f′(x)=e−x+x(−e−x)=e−x(1−x).
- Set f′(x)=0: since e−x=0 for all real x, we need 1−x=0⇒x=1.
- Second-derivative check: f′′(x)=dxd[e−x(1−x)]=−e−x(1−x)−e−x=e−x(x−2).
- At x=1: f′′(1)=e−1(1−2)=−e−1<0, confirming a local maximum.
- So k=1. …
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.If the extreme value of the function f(x)=sinx4+1−sinx1 in [0,2π] is m and it exists at x=k, then cosk= (A) 4m (B) 2m+1 (C) m5 (D) m1
›Reveal solutionSolution
Minimising f(x)=sinx4+1−sinx1 over s=sinx∈(0,1) gives sink=32, extreme value m=9, and cosk=35=m5.
Concept and Intuition
When f is expressed purely in terms of sinx, it is often easier to substitute s=sinx and minimise with respect to s on its natural domain, then convert back to x (or cosx) at the end using cos2x=1−sin2x.
Step-by-Step Solution
- Let s=sinx∈(0,1) for x∈(0,2π). Then f(s)=s4+1−s1.
- dsdf=−s24+(1−s)21. Setting this to 0: (1−s)21=s24⇒s2=4(1−s)2.
- Taking positive square roots (both sides positive on (0,1)): s=2(1−s)⇒3s=2⇒s=32. (The other sign choice gives s=2, outside the domain.)
- So sink=32, and cosk=1−94=95=35. …
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.The displacement S of a particle measured from a fixed point O on a line is given by S=t3−16t2+64t−16. Then the time at which displacement of the particle is maximum is (A) 8 (B) 4 (C) 38 (D) 34
›Reveal solutionSolution
Setting S′(t)=0 gives two critical times, t=8 and t=8/3; the second-derivative test identifies t=8/3 as the maximum.
Concept and Intuition
For a displacement function, maxima/minima of position occur where velocity dS/dt=0; the sign of the acceleration d2S/dt2 at that instant distinguishes a maximum (acceleration negative) from a minimum (acceleration positive).
Step-by-Step Solution
- dtdS=3t2−32t+64.
- Set 3t2−32t+64=0. Discriminant =322−4⋅3⋅64=1024−768=256, 256=16.
- t=632±16, giving t=8 or t=38.
- dt2d2S=6t−32.
- At t=8: 6(8)−32=16>0 — this is a minimum.
- At t=8/3: 6(8/3)−32=16−32=−16<0 — this is a maximum. …
- AP EAPCET 2026Set eng-2026-05-13-FN1 markMCQQ.If the local maximum 'M' and local minimum 'm' of the function f(x)=x−2x2−xe2−x exist at x=α and β respectively, then 2αm+βM= (A) −2e (B) e1 (C) −4e (D) e21
›Reveal solutionSolution
Factor f′(x)=(1−x)(1−e2−x) to find critical points x=1 (local min) and x=2
(local max), evaluate f there, and combine per the given expression to get −4e.
Concept and Intuition
Local extrema occur where f′=0 and the sign of f′ changes; factoring f′ into
simple pieces makes both the location AND the type (max/min) of each critical point
easy to read off from a sign chart, without needing the second derivative.
Step-by-Step Solution
- f(x)=x−2x2−xe2−x. Differentiate the last term via product rule: dxd[xe2−x]=e2−x−xe2−x=e2−x(1−x).
- So f′(x)=1−x−e2−x(1−x)=(1−x)(1−e2−x).
- Zeros: x=1, or e2−x=1⇒x=2.
- Sign chart: for x<1, (1−x)>0 and (1−e2−x)<0 (since 2−x>1⇒e2−x>e>1) so f′<0. For 1<x<2, (1−x)<0, (1−e2−x)<0 (since 0<2−x<1⇒e2−x>1) so f′>0. For x>2, (1−x)<0, (1−e2−x)>0 (since 2−x<0⇒e2−x<1) so f′<0. …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.