f ( x ) = 3 1 − x + 3 x + 3 , x ∈ R
Suppose L is the maximum value of the function f . Find the value of ⌊ 1 0 0 0 0 L ⌋ .
Notation
:
⌊
⋅
⌋
denotes the
floor function
.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
That was really good.But using calculus wouldn't be that messier in this case i think.Just some simple differentiation.
Log in to reply
You are right! Should think of some related questions in future where calculus does not help a lot. Thanks!
Really a great approach without involving calculus. Hats off!!
Great approach!
This one got me good!
f(x) itself does not have a finite maximum value. x=-1 is just a local max. It diverges at both ends. You can verify it with wolfram.
Log in to reply
Nowhere in the problem do they define the range of the function, only the domain. The function enters the complex range outside of -3 <= x <= 1, and indeed neither the real parts of f nor the magnitude of f have a true finite maximum.
How do you get that f ( x ) diverges?
The function can be written as 3 x + 3 − 3 x − 1 , which is the difference of cube roots of two numbers which differ by 4. What happens to this difference as x becomes very large?
You're mistaken. The domain of f ( x ) is − 3 ≤ x ≤ 1 . Subsitute x = − 3 or x = 1 shows that f ( x ) is finite (and does not diverge).
First we symmetrize the situation by defining y = x + 1 . Then f ( y ) = 3 2 − y + 3 2 + y . Calculus: d y d ( 2 ± y ) 1 / 3 = ± 3 1 ( 2 ± y ) − 2 / 3 . If therefore f ′ ( y ) = 0 , we must have ( 2 + y ) − 2 / 3 = ( 2 − y ) − 2 / 3 . This is the case if either 2 + y = 2 − y or if 2 + y = − ( 2 − y ) , but the latter is impossible. We conclude that y = 0 , so that L = 2 3 2 ≈ 2 . 5 1 9 8 4 … Thus we post the answer as 2 5 1 9 8 .
Superb solution
First, one must be careful taking derivatives (i.e the chain rule).
f ( y ) = 3 2 − y + 3 2 + y
f ′ ( y ) = − 3 1 ( 2 − y ) − 2 / 3 + 3 1 ( 2 + y ) − 2 / 3
Secondly, One must be careful to taking a square root to both sides. Thus
( 2 + y ) − 2 / 3 = ( 2 − y ) − 2 / 3
⇒ 2 + y = 2 − y [[ (2+y>0 & 2-y>0) or (2+y<0 & 2-y<0) ]]
⇒ y = 0 [[-2 <y <2]]
( 2 + y ) − 2 / 3 = ( 2 − y ) − 2 / 3
⇒ 2 + y = y − 2 [[ (2+y<0 & 2-y>0) or (2+y>0 & 2-y<0) ]]
⇒ 2 = − 2 ※ [[y <-2 or y>2]]
This comes directly from
a 2 = b ⇒ a = b [ [ a > 0 ] ]
a 2 = b ⇒ − a = b [ [ a < 0 ] ]
@Jerry McKenzie Thanks for those details. I like to keep my solutions short, so I did not mention them. If the solution of 2 + y = 2 − y had some value of y greater than 2, we should have rejected it in light of your analysis. Since I knew that y = 0 (which is somewhat obvious once the problem is made symmetrical), I did not bother writing all that.
Isn't it necessary to do a second derivative test to show that f(y) is maximized?
Log in to reply
Yes, or some alternative... It is not difficult to see that y → ∞ lim f ( y ) = 0 , so that a positive value of L must correspond to a maximum rather than a minimum.
To find the maximum value of the function, we first take the first derivative of the function (or the equation for the slope at each x value). d x d 3 1 − x + 3 x + 3 = d x d 3 1 − x + d x d 3 x + 3 = − 3 ( 1 − x ) 3 − 2 + 3 ( x + 3 ) 3 − 2 . In order to find the maximum point of this function, we would have to set the first derivative to 0 . − 3 ( 1 − x ) 3 − 2 + 3 ( x + 3 ) 3 − 2 = 0 − 3 ( 1 − x ) 3 − 2 = − 3 ( x + 3 ) 3 − 2 ( x + 3 ) 3 − 2 = ( 1 − x ) 3 − 2 x + 3 = 1 − x 2 x = − 2 x = − 1 Now that we have an x position, we would have to check if it is the point of maximum value, minimum value, or an inflection point. Therefore, we find the second derivative of the function (the equation for the acceleration of the function at a given point). This turns out to be − 9 2 ( 1 − x ) 3 − 5 − 9 2 ( x + 3 ) 3 − 5 We see that at x = − 2 , the second derivative is positive and at x = 0 , the second derivative is negative, therefore the maximum value of the function is at x = − 1 Computing the y value gets us 3 1 − ( − 1 ) ) + 3 ( − 1 + 3 ) 3 2 + 3 2 2 ⋅ 3 2 ≈ 2 . 5 1 9 8 4 2 1 Now we compute L = ⌊ 2 . 5 1 9 8 4 2 1 ⋅ 1 0 0 0 0 ⌋ = 2 5 1 9 8
One must be careful to taking a square root to both sides. Thus
( x + 3 ) − 2 / 3 = ( 1 − x ) − 2 / 3
⇒ x + 3 = 1 − x [[ (x+3>0 & 1-x>0) or (x+3<0 & 1-x<0) ]]
⇒ x = − 1 [[ − 3 < x < 1 ]]
( x + 3 ) − 2 / 3 = ( 1 − x ) − 2 / 3
⇒ x + 3 = x − 1 [[ (x+3>0 & 1-x>0) or (x+3<0 & 1-x<0) ]]
⇒ 3 = − 1 ※ [[ x < − 3 or x > 1 ]]
This comes directly from
a 2 = b ⇒ a = b [ [ a > 0 ] ]
a 2 = b ⇒ − a = b [ [ a < 0 ] ]
Relevant wiki: Power Mean Inequality (QAGH)
Disclaimer: This solution only works if we assumed the principal root of the cube root function. That is, we treat the domain of 3 x to be x ≥ 0 , not x ∈ R .
Since f ( x ) is real when 1 − x ≥ 0 and x + 3 ≥ 0 , then the domain of f ( x ) is − 3 ≤ x ≤ 1 .
Let a = 3 1 − x and b = 3 x + 3 for − 3 ≤ x ≤ 1 , then both a and b are non-negative numbers.
We can apply the power mean inequality ,
3 2 a 3 + b 3 ≥ 2 a + b ⇔ 2 4 ≥ ( 2 f ( x ) ) 3 ⇔ f ( x ) ≤ 3 1 6 .
Equality occurs when a = b ⇔ x = 2 .
Hence, L = 3 1 6 ⇒ ⌊ 1 0 4 ⋅ L ⌋ = 2 5 1 9 8 .
The cube root of a negative number is real, so your domain logic is faulty. The domain, as the problem states, is the reals. Assuming your limited domain could miss the actual maximum.
Log in to reply
Yes, hence my disclaimer at the beginning of my solution.
Let g ( x ) = 3 1 − x and h ( x ) = 3 x + 3 . Note that f ( x ) = g ( x ) + h ( x ) . And since g ( 1 − x ) = h ( x − 3 ) , their sum, f ( x ) , is symmetric about the line x = − 1 .
Now g ′ ( x ) = 3 − 1 ( 1 − x ) − 2 / 3 < 0 for all x and h ′ ( x ) = 3 1 ( x + 3 ) − 2 / 3 > 0 for all x . We only care about the sign of f ′ = g ′ + h ′ , so let's ignore the (1/3) for the moment.
Note that for x < − 1 , ∥ x + 3 ∥ < ∥ 1 − x ∥ , thus ( x + 3 ) − 2 / 3 > ( 1 − x ) − 2 / 3 , as exponentiation to a negative power is order reversing. Thus in this range, h ′ ( x ) > − g ′ ( x ) , and g ′ ( x ) + h ′ ( x ) > 0 . Conversely, for − 1 < x , ∥ x + 3 ∥ > ∥ 1 − x ∥ , thus ( x + 3 ) − 2 / 3 < ( 1 − x ) − 2 / 3 , which means h ′ ( x ) < − g ′ ( x ) , and g ′ ( x ) + h ′ ( x ) < 0 .
Thus f ′ ( x ) > 0 for x < − 1 and f ′ ( x ) < 0 for x > − 1 , so a max occurs at f ( − 1 ) . Evaluate f ( − 1 ) = 2 3 2 = 2 . 5 1 9 8 … , so the answer sought is 2 5 1 9 8 .
The possibility has been raised that f ( x ) diverges as x goes to infinity. This is not so. Let us consider the behavior of f ( x ) as x grows large. First, rewrite f ( x ) = 3 x + 3 − 3 x − 1 . By the mean value theorem applied to the function g ( y ) = y 1 / 3 , for large values of x , there must be a value of z ( x ) in the interval [ x − 1 , x + 3 ] such that f ( x ) = 4 ∗ g ′ ( z ( x ) ) . Now g ′ ( y ) = 3 y − 2 / 3 → 0 as y → ∞ . Thus f ( x ) → 0 as x → ∞ . By symmetry, the same argument holds as x → − ∞
This is my first time writing an actual algebraic solution for this type of problem so please critique me!
Using sum of two cubes identity, I rewrote f ( x ) as
f ( x ) = 3 ( 1 − x ) 2 + 3 ( x + 3 ) 2 − 3 ( 1 − x ) ( x + 3 ) ( 3 1 − x + 3 x + 3 ) ( 3 ( 1 − x ) 2 + 3 ( x + 3 ) 2 − 3 ( 1 − x ) ( x + 3 ) )
= 3 ( 1 − x ) 2 + 3 ( x + 3 ) 2 − 3 ( 1 − x ) ( x + 3 ) 4 = 3 ( 1 − x ) 2 + 3 ( x + 3 ) 2 + 3 ( x − 1 ) ( x + 3 ) 4
I figured that I'd have to minimize the denominator (but only considering positive denominators) in order to maximize the numerator. We only consider positive denominators because if we were to consider a negative denominator, then consider when the denominator equal 1. Then f ( x ) would equal 4 , which is positive, and positive numbers are greater than negative numbers always, so dividing by a negative wouldn't give us a maximum value.
Looking at the denominator, I realized that 3 ( 1 − x ) 2 + 3 ( x + 3 ) 2 must always be positive since the innards of the cube roots are squared and thus positive, so 3 ( 1 − x ) 2 + 3 ( x + 3 ) 2 ⩾ 0 and 3 ( x − 1 ) ( x + 3 ) can be minimized if its innards are minimized and not between 0 and 1, or between -1 and 0. We know how to find the minimum of an upward opening parabola, which is its vertex, which occurs at x = − 1 . So the minimum value of 3 ( 1 − x ) 2 + 3 ( x + 3 ) 2 + 3 ( x − 1 ) ( x + 3 ) should occur at x = − 1 , and the maximum of f ( x ) is f ( − 1 ) = 2 3 2 .
Problem Loading...
Note Loading...
Set Loading...
Let a = 3 1 − x and b = 3 x + 3 . Now a + b = y . If each side is raised to the 3rd power, we have a 3 + b 3 + 3 a b ( a + b ) = y 3 . Substitute a + b = y and a 3 + b 3 = 4 to the left-hand-side, and finally obtain a b = 3 y y 3 − 4 .
Since a + b = y and a b = 3 y y 3 − 4 , we note that a and b are roots to the equation u 2 − y u + 3 y y 3 − 4 = 0 . As a and b are real, the discriminant of the quadratic equation is non-negative, which means that y 2 − 4 ( 3 y y 3 − 4 ) ≥ 0 . Now we have 0 < y 3 ≤ 1 6 . Thus L = 3 1 6 ≈ 2 . 5 1 9 8 4 2 0 . So ⌊ 1 0 0 0 0 L ⌋ = 2 5 1 9 8 . Note that the value L is obtained when x = − 1 .