The maximum value of $f(x)=\sin x+\cos x$ is _______________.
The given function is $f(x)=\sin x+\cos x$.
$f(x)=\sin x+\cos x$
Differentiating both sides with respect to x, we get
$f^{\prime}(x)=\cos x-\sin x$
For maxima or minima,
$f^{\prime}(x)=0$
$\Rightarrow \cos x-\sin x=0$
$\Rightarrow \cos x=\sin x$
$\Rightarrow \tan x=1$
$\Rightarrow x=\frac{\pi}{4}, \frac{5 \pi}{4}$ (Let us only consider the values of $x \in[0,2 \pi]$ )
Now,
$f^{\prime \prime}(x)=-\sin x-\cos x$
At $x=\frac{5 \pi}{4}$, we have
$f^{\prime \prime}\left(\frac{5 \pi}{4}\right)=-\sin \frac{5 \pi}{4}-\cos \frac{5 \pi}{4}=-\left(-\frac{1}{\sqrt{2}}\right)-\left(-\frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{2}}=\frac{2}{\sqrt{2}}=\sqrt{2}>0$
So, $x=\frac{5 \pi}{4}$ is the point of local minimum of $f(x)$.
At $x=\frac{\pi}{4}$, we have
$f^{\prime \prime}\left(\frac{\pi}{4}\right)=-\sin \frac{\pi}{4}-\cos \frac{\pi}{4}=-\frac{1}{\sqrt{2}}-\frac{1}{\sqrt{2}}=-\frac{2}{\sqrt{2}}=-\sqrt{2}<0$
So, $x=\frac{\pi}{4}$ is the point of local maximum of $f(x)$.
$\therefore$ Maximum value of $f(x)=f\left(\frac{\pi}{4}\right)=\sin \frac{\pi}{4}+\cos \frac{\pi}{4}=\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{2}}=\frac{2}{\sqrt{2}}=\sqrt{2}$
Thus, the maximum value of $f(x)=\sin x+\cos x$ is $\sqrt{2}$.
The maximum value of $f(x)=\sin x+\cos x$ is $\sqrt{2}$
- JEE Main
- Exam Pattern
- Previous Year Papers
- PYQ Chapterwise
- Physics
- Kinematics 1D
- Kinemetics 2D
- Friction
- Work, Power, Energy
- Centre of Mass and Collision
- Rotational Dynamics
- Gravitation
- Calorimetry
- Elasticity
- Thermal Expansion
- Heat Transfer
- Kinetic Theory of Gases
- Thermodynamics
- Simple Harmonic Motion
- Wave on String
- Sound waves
- Fluid Mechanics
- Electrostatics
- Current Electricity
- Capacitor
- Magnetism and Matter
- Electromagnetic Induction
- Atomic Structure
- Dual Nature of Matter
- Nuclear Physics
- Radioactivity
- Semiconductors
- Communication System
- Error in Measurement & instruments
- Alternating Current
- Electromagnetic Waves
- Wave Optics
- X-Rays
- All Subjects
- Physics
- Motion in a Plane
- Law of Motion
- Work, Energy and Power
- Systems of Particles and Rotational Motion
- Gravitation
- Mechanical Properties of Solids
- Mechanical Properties of Fluids
- Thermal Properties of matter
- Thermodynamics
- Kinetic Theory
- Oscillations
- Waves
- Electric Charge and Fields
- Electrostatic Potential and Capacitance
- Current Electricity
- Thermoelectric Effects of Electric Current
- Heating Effects of Electric Current
- Moving Charges and Magnetism
- Magnetism and Matter
- Electromagnetic Induction
- Alternating Current
- Electromagnetic Wave
- Ray Optics and Optical Instruments
- Wave Optics
- Dual Nature of Radiation and Matter
- Atoms
- Nuclei
- Semiconductor Electronics: Materials, Devices and Simple Circuits.
- Chemical Effects of Electric Current,
All Study Material
- JEE Main
- Exam Pattern
- Previous Year Papers
- PYQ Chapterwise
- Physics
- Kinematics 1D
- Kinemetics 2D
- Friction
- Work, Power, Energy
- Centre of Mass and Collision
- Rotational Dynamics
- Gravitation
- Calorimetry
- Elasticity
- Thermal Expansion
- Heat Transfer
- Kinetic Theory of Gases
- Thermodynamics
- Simple Harmonic Motion
- Wave on String
- Sound waves
- Fluid Mechanics
- Electrostatics
- Current Electricity
- Capacitor
- Magnetism and Matter
- Electromagnetic Induction
- Atomic Structure
- Dual Nature of Matter
- Nuclear Physics
- Radioactivity
- Semiconductors
- Communication System
- Error in Measurement & instruments
- Alternating Current
- Electromagnetic Waves
- Wave Optics
- X-Rays
- All Subjects
- Physics
- Motion in a Plane
- Law of Motion
- Work, Energy and Power
- Systems of Particles and Rotational Motion
- Gravitation
- Mechanical Properties of Solids
- Mechanical Properties of Fluids
- Thermal Properties of matter
- Thermodynamics
- Kinetic Theory
- Oscillations
- Waves
- Electric Charge and Fields
- Electrostatic Potential and Capacitance
- Current Electricity
- Thermoelectric Effects of Electric Current
- Heating Effects of Electric Current
- Moving Charges and Magnetism
- Magnetism and Matter
- Electromagnetic Induction
- Alternating Current
- Electromagnetic Wave
- Ray Optics and Optical Instruments
- Wave Optics
- Dual Nature of Radiation and Matter
- Atoms
- Nuclei
- Semiconductor Electronics: Materials, Devices and Simple Circuits.
- Chemical Effects of Electric Current,