Maximum value of function f(x)

Maximum value of f(x)=x28x+52x24x+8f(x) = \left|\sqrt{x^2-8x+52} - \sqrt{x^2-4x+8}\right|, where xRx\in \mathbb{R}

#Algebra #MathProblem #Math

Note by Jagdish Singh
7 years, 6 months ago

No vote yet
14 votes

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

consider point A moving in x axis and B (4 6) C (2 2), f(x) can be seemd as AB-AC, apply triangle inequality
AB-AC<=BC=2sqrt{5}

Wentao Xu - 7 years, 6 months ago

Log in to reply

very nice way !

Piyushkumar Palan - 7 years, 6 months ago

Consider, x28x+52x24x+8\sqrt{x^2 - 8x + 52} \geq \sqrt{x^2-4x+8}

x28x+52x24x+8x11\Rightarrow x^2 -8x + 52 \geq x^2 -4x + 8 \Rightarrow x \leq 11 First Consider x11x \leq 11

f(x)=x28x+52x24x+8f(x) = \sqrt{x^2 - 8x + 52} \geq \sqrt{x^2-4x+8}

f(x)=x4x28x+52x2x24x+8\Rightarrow f'(x) = \frac{x-4}{\sqrt{x^2-8x+52}} - \frac{x-2}{\sqrt{x^2-4x+8}}

Clearly , f(x)>0 f'(x) >0 \forall x,1,f(x)=0x , 1, f'(x) = 0 at x=1,x= 1, and f(x)<0f'(x) < 0 x\forall x (1,11)\in (1, 11).

Hence, x=1x=1 is a local maximum . Also, f(1)=25f(1) = 2 \sqrt{5}.

Now, x.11\forall x . 11, only the sign of the expression changes, hence x=1x=1 is the only extrema of the function.

Wait! Don't just say 252 \sqrt{5} is the answer, you also have to check limxf(x)\displaystyle \lim_{x \to \infty} f(x), as f(x)f(x) is constantly increasing x>11\forall x> 11, and hence there might come one xx when f(x)f(x) crosses 252 \sqrt{5}

To find limxf(x)\displaystyle \lim_{x \to \infty} f(x),rationalise the numerator to get,

f(x)=4(x11)x28x+52+x24x+8f(x) = \frac{4(x-11)}{\sqrt{x^2 - 8x+52} + \sqrt{x^2 - 4x + 8}}

Divide numerator and denominator by x to get :

limxf(x)=limx4(111x)18x+52x2+14x+8x2\displaystyle \lim_{x \to \infty} f(x) = \lim_{x \to \infty} \frac{4(1 - \frac{11}{x})}{\sqrt{1 - \frac{8}{x} + \frac{52}{x^2}} + \sqrt{1 - \frac{4}{x} + \frac{8}{x^2}}}

=22, which is less than 252 \sqrt{5}

Hence, we conclude that the max. value is 25\boxed{2 \sqrt{5}}

Here is the graph of this function.

jatin yadav - 7 years, 6 months ago

Thanks friends for Nice solution.

I have tried like this way.

y=f(x)=x28x+52x24x+8y2=x28x+52x24x+82y = f(x) = \left|\sqrt{x^2-8x+52}-\sqrt{x^2-4x+8}\right|\Rightarrow y^2 = \left|\sqrt{x^2-8x+52}-\sqrt{x^2-4x+8}\right|^2

So y2={x28x+52x24x+8}2=x28x+52+x24x+82(x28x+52)(x24x+8)y^2 = \left\{\sqrt{x^2-8x+52}-\sqrt{x^2-4x+8}\right\}^2 = x^2-8x+52+x^2-4x+8-2\sqrt{(x^2-8x+52)\cdot (x^2-4x+8)}

So y2=2(x26x+30)2{(x4)2+62}{(x2)2+22}y^2= 2(x^2-6x+30)-2\sqrt{\left\{(x-4)^2+6^2\right\}\cdot \left\{(x-2)^2+2^2\right\}}

Now Using cauchy - schtwartz Inequality

{(x4)2+62}{(x2)2+22}{(x4)(x2)+62}2\left\{(x-4)^2+6^2\right\}\cdot \left\{(x-2)^2+2^2\right\}\geq \left\{(x-4)\cdot (x-2)+6\cdot 2\right\}^2

So {(x4)2+62}{(x2)2+22}{x26x+20}\sqrt{\left\{(x-4)^2+6^2\right\}\cdot \left\{(x-2)^2+2^2\right\}}\geq \left\{x^2-6x+20\right\}

So {(x4)2+62}{(x2)2+22}{x26x+20}-\sqrt{\left\{(x-4)^2+6^2\right\}\cdot \left\{(x-2)^2+2^2\right\}}\leq - \left\{x^2-6x+20\right\}

So y22(x26x+30)2(x26x+20)=20y25y^2\leq 2(x^2-6x+30)-2(x^2-6x+20) = 20\Rightarrow y \leq 2\sqrt{5} because y0y\geq 0

jagdish singh - 7 years, 6 months ago

Consider the triangle formed by A(x,0), B(2,2) and C(4,6), f(x) = |AC - AB| <= BC = 2sqrt(5). The equality holds when the triangle is degenerated, that is when A, B, C are co-linear. So A is (1,0) or x=1.

George G - 7 years, 6 months ago

Is it 2*sqrt(5).. ?

Rupansh Deshkar - 7 years, 6 months ago

Wolfram|Alpha says 252\sqrt{5} at x=1x=1

Daniel Leong - 7 years, 6 months ago
×

Problem Loading...

Note Loading...

Set Loading...