01 · la receta01 · the recipe
Seis pasos, siempre en este orden, y un dibujo antes de empezarSix steps, always in this order, and a drawing before you start
1) ¿qué te piden minimizar o maximizar? 1a) busca la función 1b) constrúyela 1c) fija sus unidades → 2) cuenta las incógnitas: si hay dos, ecuación de apoyo → 3) despeja una variable → 4) sustituye: función objetivo de una sola variable → 5) deriva, iguala a cero, despeja y decide con la tabla de signos de f′ → 6) responde a la pregunta, con unidades1) what are you asked to minimise or maximise? 1a) find the function 1b) build it 1c) fix its units → 2) count the unknowns: if there are two, constraint equation → 3) solve for one variable → 4) substitute: objective function of a single variable → 5) differentiate, set to zero, solve and decide with the sign table of f′ → 6) answer the question, with units
La receta no cambia de un problema a otro. Cambia el dibujo y cambian los números. Por eso se aprende una vez y se aplica siempre. El paso 1 es leer: la pregunta está casi siempre en la última frase. El paso 2 es contar letras: si la función tiene dos, falta una ecuación que las ate. Los pasos 3 y 4 son álgebra: dejar la función con una sola letra. El paso 5 es el de siempre en análisis: derivar, igualar a cero y mirar el signo de la derivada a cada lado. El paso 6 es el que más se olvida: contestar a lo que te preguntan, con las dos dimensiones si piden dimensiones y con sus unidades. Y antes de todo, un dibujo con las letras puestas. El dibujo te dice qué mide cada letra y qué fórmula de área o de volumen hace falta.The recipe does not change from one problem to another. The drawing changes and the numbers change. That is why you learn it once and apply it always. Step 1 is reading: the question is almost always in the last sentence. Step 2 is counting letters: if the function has two, an equation that ties them is missing. Steps 3 and 4 are algebra: leaving the function with a single letter. Step 5 is the usual one in calculus: differentiate, set to zero and look at the sign of the derivative on each side. Step 6 is the one most often forgotten: answer what you are asked, with both dimensions if dimensions are asked and with their units. And before all of it, a drawing with the letters on it. The drawing tells you what each letter measures and which area or volume formula you need.
02 · qué se optimiza y en qué unidades02 · what is optimised and in what units
La última frase dice qué se minimiza o se maximiza, y sus unidades se fijan antes de construir la funciónThe last sentence says what is minimised or maximised, and its units are fixed before building the function
«…para que el coste sea mínimo» ⇒ función objetivo: el coste, en € · el volumen fijo es un dato · «las dimensiones» son la respuesta · €/m² × m² = € · 1 L = 1 dm³ = 1000 cm³"…so that the cost is minimal" ⇒ objective function: the cost, in € · the fixed volume is a datum · "the dimensions" are the answer · €/m² × m² = € · 1 L = 1 dm³ = 1000 cm³
Paso 1. Un enunciado típico dice: «un depósito de 54π m³ tiene que costar lo menos posible; halla sus dimensiones». Hay tres cosas, y solo una se optimiza. El volumen no: es fijo, ya te lo dan. Las dimensiones tampoco: son lo que vas a contestar al final. Lo que se hace mínimo es el coste. Subraya esa palabra antes de escribir nada. Si optimizas el volumen, haces un problema que nadie te ha pedido, y todo lo que viene después sale bien hecho y mal planteado. Pasos 1a y 1b: buscas la fórmula de ese coste y la construyes con las letras del dibujo; lo ves en la tarjeta siguiente.Step 1. A typical statement says: "a tank of 54π m³ must cost as little as possible; find its dimensions". There are three things, and only one is optimised. Not the volume: it is fixed, you are given it. Not the dimensions either: they are what you will answer at the end. What is made minimal is the cost. Underline that word before writing anything. If you optimise the volume, you solve a problem nobody asked for, and everything that follows is well done and badly set up. Steps 1a and 1b: you look for the formula of that cost and build it with the letters of the drawing; you see it in the next card.
Paso 1c, y aquí no te puedes equivocar nunca: fija las unidades antes de construir. Si la base cuesta 40 euros por metro cuadrado, al multiplicar por un área en m² te quedan euros: la función objetivo se mide en euros. Si un dato viene en litros y las longitudes en centímetros, pasas todo a centímetros antes de escribir la ecuación de apoyo: 1 L son 1000 cm³. El análisis de unidades te sirve de comprobación: si un sumando da euros y otro da metros, has multiplicado mal. Escribe la unidad entre corchetes al lado de la función, por ejemplo F(R) [€], y repítela en la respuesta.Step 1c, and here you can never get it wrong: fix the units before building. If the base costs 40 euros per square metre, multiplying by an area in m² leaves euros: the objective function is measured in euros. If a datum comes in litres and the lengths in centimetres, you convert everything to centimetres before writing the constraint equation: 1 L is 1000 cm³. Unit analysis works as a check: if one term gives euros and another gives metres, you multiplied wrongly. Write the unit in brackets next to the function, for example F(R) [€], and repeat it in the answer.
03 · función objetivo03 · objective function
La función objetivo es la fórmula de lo que se optimiza, escrita con las letras del dibujoThe objective function is the formula of what is optimised, written with the letters of the drawing
coste = (precio por m² de la base) · (área de la base) + (precio por m² de la pared) · (área de la pared)cost = (price per m² of the base) · (area of the base) + (price per m² of the wall) · (area of the wall)
Se construye en palabras y luego se traduce. «El coste es lo que cuesta la base más lo que cuesta la pared.» Cada pieza es precio por área. Para un cilindro sin tapa de radio R y altura h: la base es un círculo, πR²; la pared, desenrollada, es un rectángulo de 2πR por h. F(R, h) = 40·πR² + 20·2πRh [€]. Si el depósito tiene tapa, la base se cuenta dos veces. Si lo que se optimiza es una superficie, sin precios, es lo mismo con todos los precios iguales a 1. Si es un beneficio, es ingresos menos costes. Mira el dibujo: cada cara que existe lleva su sumando, y una cara que no existe, como la tapa de un depósito abierto o el lado de una cerca pegado a un muro, no lleva ninguno.It is built in words and then translated. "The cost is what the base costs plus what the wall costs." Each piece is price times area. For a cylinder without a lid of radius R and height h: the base is a circle, πR²; the wall, unrolled, is a rectangle of 2πR by h. F(R, h) = 40·πR² + 20·2πRh [€]. If the tank has a lid, the base counts twice. If what is optimised is a surface, with no prices, it is the same with all prices equal to 1. If it is a profit, it is revenue minus costs. Look at the drawing: each face that exists gets its term, and a face that does not exist, such as the lid of an open tank or the side of a fence against a wall, gets none.
04 · ecuación de apoyo04 · constraint equation
Si la función tiene dos incógnitas, la ecuación de apoyo es el dato que falta por usarIf the function has two unknowns, the constraint equation is the datum you have not used yet
dos letras en F ⇒ busca el dato sin usar, casi siempre un total: πR²h = 54π · xy = 800 · x + y = 24two letters in F ⇒ look for the unused datum, almost always a total: πR²h = 54π · xy = 800 · x + y = 24
Cuenta las letras de la función objetivo. Con una, saltas al paso 5. Con dos, no se puede derivar todavía: necesitas una ecuación que las relacione. No hay que inventarla. Repasa el enunciado y busca el número que aún no has usado: el volumen del depósito, el área del terreno, la suma de los dos números, el perímetro. Habitualmente es un total. Esa es la ecuación de apoyo. No se optimiza: se usa para quitar una letra. Si te sobra un dato, es que lo has usado mal o que es para el paso 6. Si te falta, mira el dibujo: a veces la ecuación de apoyo es geométrica, como un vértice que tiene que estar en una curva.Count the letters of the objective function. With one, you jump to step 5. With two, you cannot differentiate yet: you need an equation that relates them. You do not have to invent it. Go over the statement and look for the number you have not used yet: the volume of the tank, the area of the plot, the sum of the two numbers, the perimeter. It is usually a total. That is the constraint equation. It is not optimised: it is used to remove a letter. If you have a datum left over, you used it wrongly or it is for step 6. If you are missing one, look at the drawing: sometimes the constraint is geometric, like a vertex that has to lie on a curve.
05 · despejar y sustituir05 · solve and substitute
Despeja la variable más fácil y sustitúyela: la función se queda con una sola letraSolve for the easiest variable and substitute it: the function is left with a single letter
πR²h = 54π ⇒ h = 54/R² ⇒ F(R) = 40πR² + 40πR·54/R² = 40πR² + 2160π/RπR²h = 54π ⇒ h = 54/R² ⇒ F(R) = 40πR² + 40πR·54/R² = 40πR² + 2160π/R
Elige la variable que se despeja sin raíces. De πR²h = 54π sale h = 54/R² en una línea; despejar R pediría una raíz cuadrada, y la derivada se complicaría. Sustituye en la función objetivo y simplifica antes de derivar: R·54/R² es 54/R. Ahora la función tiene una sola letra, y ya es un problema de derivadas. Apunta lo que despejaste, h = 54/R², porque lo necesitas en el paso 6 para dar la otra dimensión.Choose the variable that comes out without roots. From πR²h = 54π you get h = 54/R² in one line; solving for R would need a square root, and the derivative would get harder. Substitute into the objective function and simplify before differentiating: R·54/R² is 54/R. Now the function has a single letter, and it is already a derivatives problem. Write down what you solved for, h = 54/R², because you need it in step 6 to give the other dimension.
06 · derivada = pendiente06 · derivative = slope
La derivada es la pendiente de la recta tangente: en un máximo o en un mínimo la tangente es horizontal y f′ vale 0The derivative is the slope of the tangent line: at a maximum or a minimum the tangent is horizontal and f′ equals 0
f′(a) = pendiente de la tangente en a · máximo o mínimo en a (dentro del intervalo) ⇒ f′(a) = 0 · reescribe antes de derivar: 1/R = R⁻¹, 2160π/R = 2160π·R⁻¹f′(a) = slope of the tangent at a · maximum or minimum at a (inside the interval) ⇒ f′(a) = 0 · rewrite before differentiating: 1/R = R⁻¹, 2160π/R = 2160π·R⁻¹
Por eso se deriva. Mientras la función sube, la tangente sube y su pendiente es positiva. Mientras baja, la pendiente es negativa. En lo alto de una montaña o en el fondo de un valle, la tangente se queda plana: pendiente 0. Así que los candidatos a óptimo son los puntos donde f′ = 0. Antes de derivar, reescribe las fracciones como potencias: 2160π/R = 2160π·R⁻¹, y su derivada es −2160π·R⁻² = −2160π/R². Así no hace falta la regla del cociente y no se pierde el signo. Para nuestro depósito: F′(R) = 80πR − 2160π/R². Igualas a cero: 80πR = 2160π/R², R³ = 27, R = 3. Fíjate en el último paso: de R³ = 27 se sale con la raíz cúbica, no dividiendo entre 3.That is why you differentiate. While the function rises, the tangent rises and its slope is positive. While it falls, the slope is negative. At the top of a hill or at the bottom of a valley, the tangent goes flat: slope 0. So the candidates for the optimum are the points where f′ = 0. Before differentiating, rewrite fractions as powers: 2160π/R = 2160π·R⁻¹, and its derivative is −2160π·R⁻² = −2160π/R². That way you do not need the quotient rule and the sign is not lost. For our tank: F′(R) = 80πR − 2160π/R². Set it to zero: 80πR = 2160π/R², R³ = 27, R = 3. Look at the last step: from R³ = 27 you get out with the cube root, not by dividing by 3.
07 · decidir con la tabla07 · decide with the table
f′ = 0 da candidatos; la tabla de signos de f′ dice si es máximo, mínimo o nadaf′ = 0 gives candidates; the sign table of f′ says whether it is a maximum, a minimum or nothing
− antes y + después: mínimo · + antes y − después: máximo · mismo signo: no hay extremo− before and + after: minimum · + before and − after: maximum · same sign: no extremum
Esta guía no usa la segunda derivada: decide con la tabla, igual que en el estudio de funciones. Pon en la recta el punto crítico y los bordes del dominio con sentido. Elige un valor de prueba a cada lado y sustitúyelo en f′. En el depósito: F′(2) = 160π − 540π = −380π, negativa; F′(4) = 320π − 135π = 185π, positiva. El coste baja y luego sube: R = 3 es un mínimo. Si te pedían el mínimo y sale un máximo, revisa la función objetivo, no la tabla. Y si el signo no cambia, ese punto no sirve aunque f′ valga 0.This guide does not use the second derivative: it decides with the table, the same as when studying a function. Put on the line the critical point and the edges of the meaningful domain. Pick a test value on each side and substitute it into f′. In the tank: F′(2) = 160π − 540π = −380π, negative; F′(4) = 320π − 135π = 185π, positive. The cost falls and then rises: R = 3 is a minimum. If you were asked for the minimum and you get a maximum, check the objective function, not the table. And if the sign does not change, that point is no good even though f′ equals 0.
08 · dominio con sentido08 · meaningful domain
Las longitudes son positivas y los recortes caben: descarta lo que no tiene sentido y mira los bordesLengths are positive and cut-outs must fit: discard what makes no sense and check the edges
R > 0 · 0 < x < 5 en una plancha de 10 de ancho · intervalo cerrado [a, b]: compara f en los críticos y en a y en bR > 0 · 0 < x < 5 in a sheet 10 wide · closed interval [a, b]: compare f at the critical points and at a and b
Antes de derivar, escribe para qué valores tiene sentido la variable. Un radio negativo no existe, y x² = 400 da x = 20, no −20. Si de una plancha de 10 cm de ancho cortas dos cuadrados de lado x, x tiene que ser menor que 5: una raíz de f′ = 0 como x = 20/3 se descarta. Si el enunciado da un intervalo, por ejemplo «como mucho 15 mesas», el óptimo puede estar en un borde, donde f′ no tiene por qué valer 0. Un extremo relativo mira solo a sus vecinos; el absoluto es el mejor valor de todo el intervalo, y por eso se compara con los bordes.Before differentiating, write for which values the variable makes sense. A negative radius does not exist, and x² = 400 gives x = 20, not −20. If from a sheet 10 cm wide you cut two squares of side x, x has to be less than 5: a root of f′ = 0 such as x = 20/3 is discarded. If the statement gives an interval, for example "at most 15 tables", the optimum may be at an edge, where f′ need not be 0. A relative extremum only looks at its neighbours; the absolute one is the best value on the whole interval, and that is why you compare with the edges.
09 · tres niveles09 · three levels
Te dan la función, la construyes con una variable, o la construyes con ecuación de apoyoYou are given the function, you build it with one variable, or you build it with a constraint
nivel 1: te dan f, solo paso 5 y 6 · nivel 2: construyes f con una variable, sin apoyo · nivel 3: construyes f con dos variables y la ecuación de apoyolevel 1: you are given f, only steps 5 and 6 · level 2: you build f with one variable, no constraint · level 3: you build f with two variables and the constraint
El nivel 1 es el más fácil: «el beneficio es B(x) = …; ¿para qué x es máximo?». Solo derivas, haces la tabla y contestas. El nivel 2 te obliga a escribir la función, pero sale ya con una letra: un precio y una demanda, un descuento y un número de clientes. Es típico de beneficios e ingresos. El nivel 3 es el difícil: hay que montar la función con dos letras y encontrar la ecuación de apoyo. Lo difícil es sacar la función; lo demás es derivar. Los casos de la parte 2 van por niveles, tres o más de cada uno.Level 1 is the easiest: "the profit is B(x) = …; for which x is it maximal?". You only differentiate, make the table and answer. Level 2 forces you to write the function, but it already comes out with one letter: a price and a demand, a discount and a number of customers. It is typical of profits and revenues. Level 3 is the hard one: you have to build the function with two letters and find the constraint equation. The hard part is getting the function; the rest is differentiating. The cases in part 2 go by level, three or more of each.
10 · la geometría que hace falta10 · the geometry you need
Áreas y volúmenes del cilindro, del prisma de base cuadrada y del rectángulo, con tapa y sin tapaAreas and volumes of the cylinder, the square-based prism and the rectangle, with and without a lid
cilindro: V = πR²h, base πR², pared 2πRh, total cerrado 2πR² + 2πRh · prisma de base cuadrada: V = x²h, base x², paredes 4xh · caja abierta de una plancha a × b recortando x: V = x(a − 2x)(b − 2x) · rectángulo: A = xy, P = 2x + 2ycylinder: V = πR²h, base πR², wall 2πRh, closed total 2πR² + 2πRh · square-based prism: V = x²h, base x², walls 4xh · open box from an a × b sheet cutting x: V = x(a − 2x)(b − 2x) · rectangle: A = xy, P = 2x + 2y
La pared de un cilindro, desenrollada, es un rectángulo: un lado es la circunferencia, 2πR, y el otro la altura, h. Por eso su área es 2πRh. Sin tapa, la base cuenta una vez; con tapa, dos. En un prisma de base cuadrada de lado x hay cuatro paredes iguales de x por h. En una caja hecha recortando cuadrados de lado x en las esquinas de una plancha, cada lado de la base pierde dos x, y la altura es x. Si un lado de una cerca va pegado a un muro, ese lado no lleva valla y no entra en la función. Si necesitas el cono, es V = πR²h/3; aquí no hace falta.The wall of a cylinder, unrolled, is a rectangle: one side is the circumference, 2πR, and the other the height, h. That is why its area is 2πRh. Without a lid, the base counts once; with a lid, twice. In a square-based prism of side x there are four equal walls of x by h. In a box made by cutting squares of side x from the corners of a sheet, each side of the base loses two x, and the height is x. If one side of a fence runs along a wall, that side has no fencing and does not enter the function. If you need the cone, it is V = πR²h/3; it is not needed here.
11 · antes de optimizar: crecimiento a trozos11 · before optimising: increase piecewise
Con una función a trozos, en la tabla van los puntos críticos y también los puntos de rupturaWith a piecewise function, the table includes the critical points and also the break points
puntos de la tabla: f′ = 0 dentro de cada trozo + puntos de ruptura + bordes · f′ = 0 en un producto: cada factor por separado, eˣ ≠ 0 · calculadora en radianes · si no es continua, tampoco es derivabletable points: f′ = 0 inside each piece + break points + edges · f′ = 0 in a product: each factor separately, eˣ ≠ 0 · calculator in radians · if it is not continuous, it is not differentiable either
Es el ejercicio que suele ir antes de la optimización, y usa la misma tabla. Cada trozo se deriva en abierto y se iguala a cero por separado. Una solución que no está en su trozo se descarta: si el trozo es x ≥ 0 y sale x = −1, no cuenta. En un producto como (x + 1)·e−x = 0, cada factor por separado: la exponencial nunca vale 0, así que solo queda x + 1 = 0. Con senos y cosenos, el enunciado restringe la x a un intervalo, y la tabla empieza en su borde, no en −∞: el coseno cambia de signo infinitas veces. Los valores de prueba van en radianes: cos(−3,14) en grados da 0,998, y en radianes da −1, que es lo correcto. Y en el punto de ruptura, primero la continuidad: si no es continua, tampoco es derivable. Lo tienes entero en el caso 12. Para el resto del estudio, mira continuidad, derivabilidad y extremos con tabla de signos.It is the exercise that usually comes before optimisation, and it uses the same table. Each piece is differentiated on the open interval and set to zero separately. A solution that is not in its piece is discarded: if the piece is x ≥ 0 and you get x = −1, it does not count. In a product such as (x + 1)·e−x = 0, each factor separately: the exponential is never 0, so only x + 1 = 0 is left. With sines and cosines, the statement restricts x to an interval, and the table starts at its edge, not at −∞: the cosine changes sign infinitely many times. Test values go in radians: cos(−3.14) in degrees gives 0.998, and in radians it gives −1, which is correct. And at the break point, continuity first: if it is not continuous, it is not differentiable either. You have it in full in case 12. For the rest of the study, see continuity, differentiability and extrema with a sign table.