Saltar al contenido
PMAKDMY
Recurso
1º Bachillerato · Matemáticas I y CCSS IYear 12 · Mathematics I and Applied Mathematics I

Probabilidad en 1º de Bachillerato: sucesos, independencia, probabilidad condicionada y Bayes, con simuladores y simulacroProbability in Year 12: events, independence, conditional probability and Bayes, with simulators and a mock exam

La probabilidad de 1º de Bachillerato es teoría de conjuntos con números: un suceso es un conjunto de resultados, su probabilidad es un área dentro de un rectángulo que vale 1, y casi todo se resuelve con cuatro fórmulas bien elegidas. Aquí tienes lo imprescindible, diez casos resueltos, cinco simuladores (Venn, Monte Carlo, Bayes en 1.000 personas, intervalos y un juego de verdadero o falso) y un simulacro de 60 minutos con rúbrica.Year 12 probability is set theory with numbers: an event is a set of outcomes, its probability is an area inside a rectangle worth 1, and almost everything is solved with four well-chosen formulas. Here are the must-knows, ten worked cases, five simulators (Venn, Monte Carlo, Bayes in 1,000 people, intervals and a true-or-false game) and a 60-minute mock with a rubric.

Parte 1Part 1

Lo imprescindible de la probabilidadThe must-knows of probability

Doce tarjetas en el orden en que se construye el tema: primero los conjuntos, porque un suceso es un conjunto; luego cómo se mide; y al final cómo cambia la medida cuando sabes algo. Si dominas el rectángulo de área 1, el resto son cuentas.Twelve cards in the order the topic is built: first sets, because an event is a set; then how it is measured; and finally how the measure changes when you know something. If you master the rectangle of area 1, the rest is arithmetic.

01 · conjuntos e intervalos01 · sets and intervals

Unión, intersección, diferencia y complementario se ven en la rectaUnion, intersection, difference and complement are seen on the line

A ∪ B: en A o en Bin A or in B · A ∩ B: en los dosin both · A − B: en A y no en Bin A and not in B · A: fuera de Aoutside A

Antes de los sucesos, el examen pide conjuntos de números. A = [−2, 5) son los reales entre −2 y 5, con el −2 dentro (corchete, punto relleno) y el 5 fuera (paréntesis, punto hueco). B = {x ∈ ℝ : x > 3} es «x es un número mayor que 3», o sea (3, +∞): el 3 no entra porque mayor no es mayor o igual. Dibuja siempre los dos en la recta, uno encima del otro, y lee: la intersección es donde hay dos rayas, (3, 5); la unión, donde hay al menos una, [−2, +∞); A − B, donde está A sin B, [−2, 3]. El 3 entra en A − B porque es de A y no es de B. Infinito siempre va con paréntesis: no es un número, no se alcanza.Before events, the exam asks for sets of numbers. A = [−2, 5) is the reals between −2 and 5, with −2 inside (square bracket, filled dot) and 5 outside (round bracket, hollow dot). B = {x ∈ ℝ : x > 3} is "x is a number greater than 3", that is (3, +∞): 3 is not in because greater is not greater or equal. Always draw both on the line, one above the other, and read: the intersection is where there are two bars, (3, 5); the union, where there is at least one, [−2, +∞); A − B, where A is without B, [−2, 3]. The 3 is in A − B because it belongs to A and not to B. Infinity always takes a round bracket: it is not a number, it is never reached.

02 · De Morgan02 · De Morgan

Lo contrario de «A o B» es «ni A ni B»The opposite of "A or B" is "neither A nor B"

A ∪ B = A ∩ B  ·  A ∩ B = A ∪ B

Al negar, la unión se vuelve intersección y al revés. «No es verdad que llueva o haga frío» significa «ni llueve ni hace frío». «No es verdad que llueva y haga frío» significa «o no llueve o no hace frío»: basta con que falle una. De aquí salen las dos fórmulas que más se usan con datos «de lado»: P(A ∩ B) = 1 − P(A ∪ B) y P(A ∪ B) = 1 − P(A ∩ B). Si te dan P(A ∩ B) = 0,2, ya sabes que P(A ∪ B) = 0,8 sin hacer nada más.When you negate, union becomes intersection and the other way round. "It is not true that it rains or it is cold" means "it neither rains nor is cold". "It is not true that it rains and it is cold" means "either it does not rain or it is not cold": one failing is enough. Here come the two formulas used most with data given "sideways": P(A ∩ B) = 1 − P(A ∪ B) and P(A ∪ B) = 1 − P(A ∩ B). If you are given P(A ∩ B) = 0.2, you already know that P(A ∪ B) = 0.8 without doing anything else.

03 · el experimento03 · the experiment

Aleatorio es que, repitiéndolo igual, no sabes qué saldráRandom means that, repeating it the same way, you do not know what will come out

Ω = todos los resultados posiblesall possible outcomes  ·  dadodie: Ω = {1, 2, 3, 4, 5, 6}

Un experimento es determinista si las mismas condiciones dan siempre el mismo resultado: soltar una piedra desde 5 m y medir si cae. Es aleatorio si conoces todos los resultados posibles pero no cuál saldrá: lanzar un dado, sacar una carta, elegir una palabra del diccionario al azar. El espacio muestral Ω es la lista completa de resultados. Cada resultado suelto es un suceso elemental, {4}. Un suceso es cualquier subconjunto: «sale par» = {2, 4, 6}. Ω entero es el suceso seguro, siempre ocurre. El vacío ∅ es el suceso imposible: «sale un 7».An experiment is deterministic if the same conditions always give the same result: dropping a stone from 5 m and checking whether it falls. It is random if you know all the possible outcomes but not which will come out: rolling a die, drawing a card, picking a word from the dictionary at random. The sample space Ω is the complete list of outcomes. Each single outcome is an elementary event, {4}. An event is any subset: "an even number" = {2, 4, 6}. The whole of Ω is the certain event, it always happens. The empty set ∅ is the impossible event: "a 7 comes up".

04 · traducir04 · translating

Cada frase del enunciado es una operación con conjuntosEach phrase in the statement is a set operation

FrasePhraseSucesoEventFórmula útilUseful formula
«A o B», «al menos uno de los dos»"A or B", "at least one of the two"A ∪ BP(A) + P(B) − P(A ∩ B)
«A y B», «los dos a la vez»"A and B", "both at once"A ∩ BP(A) · P(B|A)
«no A»"not A"A1 − P(A)
«A pero no B», «solo A»"A but not B", "only A"A − B = A ∩ BP(A) − P(A ∩ B)
«ni A ni B», «ninguno»"neither A nor B", "none"A ∩ B1 − P(A ∪ B)
«no los dos a la vez», «como mucho uno»"not both at once", "at most one"A ∪ B1 − P(A ∩ B)
«exactamente uno»"exactly one"(A − B) ∪ (B − A)P(A) + P(B) − 2·P(A ∩ B)

El paso que más puntos cuesta no es la cuenta, es la traducción. Antes de tocar un número, escribe el suceso con símbolos. «Que ocurra A pero no B» es A ∩ B, que también se escribe A − B. La notación del complementario varía: A, A' o Aᶜ significan lo mismo; usa la que use tu profesor.The step that costs most marks is not the arithmetic, it is the translation. Before touching a number, write the event in symbols. "A happens but not B" is A ∩ B, which is also written A − B. The notation for the complement varies: A, A' or Aᶜ mean the same; use the one your teacher uses.

05 · Laplace05 · Laplace

Casos favorables entre casos posibles, solo si todos son igual de probablesFavourable cases over possible cases, only if all are equally likely

P(A) = casos favorablesfavourable casescasos posiblespossible cases

La regla de Laplace exige casos equiprobables. Con dos dados hay 36 parejas ordenadas, (1, 1), (1, 2) hasta (6, 6), y todas valen 1/36. Pero las sumas no son equiprobables: la suma 7 sale de seis parejas, (1, 6), (2, 5), (3, 4), (4, 3), (5, 2), (6, 1), y la suma 2 solo de una. Si cuentas «hay 11 sumas posibles, luego P(suma 7) = 1/11», aplicas Laplace donde no vale. La cuenta buena es 6/36 = 1/6. Por eso con dos dados se trabaja siempre con la tabla de 36 casillas, no con la lista de sumas.Laplace's rule demands equally likely cases. With two dice there are 36 ordered pairs, (1, 1), (1, 2) up to (6, 6), and each is worth 1/36. But the sums are not equally likely: sum 7 comes from six pairs, (1, 6), (2, 5), (3, 4), (4, 3), (5, 2), (6, 1), and sum 2 from only one. If you count "there are 11 possible sums, so P(sum 7) = 1/11", you apply Laplace where it does not hold. The right count is 6/36 = 1/6. That is why with two dice you always work with the 36-cell table, not with the list of sums.

06 · frecuencia relativa06 · relative frequency

Repitiendo mucho, la frecuencia se acerca a la probabilidadRepeating many times, the frequency approaches the probability

fr = veces que ocurre Atimes A happensveces que repitestimes you repeat  →  P(A)

Lanza una moneda 10 veces y puede salir 7 caras: 0,7. Lánzala 10.000 y saldrá muy cerca de 0,5. Es la ley de los grandes números, como idea: la frecuencia relativa se estabiliza alrededor de la probabilidad cuando el número de repeticiones crece. No dice que «después de cinco cruces toque cara»: la moneda no tiene memoria. Dice que las rachas se diluyen en el total. Cuando no hay casos equiprobables, como con una chincheta que cae de punta o de lado, la frecuencia relativa es la única forma de estimar la probabilidad. El simulador de Monte Carlo lo enseña en directo.Toss a coin 10 times and you may get 7 heads: 0.7. Toss it 10,000 times and it will come out very close to 0.5. That is the law of large numbers, as an idea: the relative frequency settles around the probability as the number of repetitions grows. It does not say "after five tails, heads is due": the coin has no memory. It says that streaks get diluted in the total. When there are no equally likely cases, as with a drawing pin landing point up or on its side, relative frequency is the only way to estimate the probability. The Monte Carlo simulator shows it live.

07 · axiomas y propiedades07 · axioms and properties

Una probabilidad está entre 0 y 1, Ω vale 1, y la intersección se resta una vezA probability is between 0 and 1, Ω is worth 1, and the intersection is subtracted once

0 ≤ P(A) ≤ 1 · P(Ω) = 1 · P(A) = 1 − P(A) · P(A ∪ B) = P(A) + P(B) − P(A ∩ B) · P(A − B) = P(A) − P(A ∩ B)

Piensa en el rectángulo Ω de área 1 y en A y B como dos manchas dentro. P(A) + P(B) cuenta dos veces la zona común, así que hay que restarla una vez: de ahí la fórmula de la unión. Solo cuando A y B no se tocan, P(A ∩ B) = 0 y la unión es la suma. P(A − B) es la mancha A sin la zona común. Y P(A) es todo lo que queda fuera de A. Si una cuenta te da una probabilidad negativa o mayor que 1, no es un dato curioso: es un error, y está en el paso anterior. El complementario sirve además para el truco más rentable del tema: «al menos uno» es lo contrario de «ninguno», así que P(al menos uno) = 1 − P(ninguno).Think of the rectangle Ω of area 1 and of A and B as two patches inside. P(A) + P(B) counts the common zone twice, so it must be subtracted once: that is where the union formula comes from. Only when A and B do not touch is P(A ∩ B) = 0 and the union the sum. P(A − B) is patch A without the common zone. And P(A) is everything left outside A. If a calculation gives you a negative probability or one greater than 1, it is not a curiosity: it is a mistake, and it is in the previous step. The complement also gives the most profitable trick in the topic: "at least one" is the opposite of "none", so P(at least one) = 1 − P(none).

08 · la confusión más cara08 · the most expensive confusion

Incompatibles no es lo mismo que independientes: es casi lo contrarioMutually exclusive is not the same as independent: it is almost the opposite

incompatiblesmutually exclusive: A ∩ B = ∅, P(A ∩ B) = 0  ·  independientesindependent: P(A ∩ B) = P(A) · P(B)

Incompatibles significa que no pueden ocurrir a la vez. En un dado, «sale 2» y «sale 5». Independientes significa que saber que ha ocurrido uno no cambia la probabilidad del otro. Con dos dados, «el primero es par» y «el segundo es un 6»: P = 1/2 · 1/6 = 1/12, que es justo 3 casillas de 36. Ahora fíjate: si A y B son incompatibles y sabes que ha ocurrido A, la probabilidad de B pasa a ser 0. Saber A ha cambiado muchísimo lo que sabes de B. Por eso dos sucesos con probabilidad positiva no pueden ser a la vez incompatibles e independientes: incompatibles obliga a P(A ∩ B) = 0, independientes obliga a P(A ∩ B) = P(A)·P(B) > 0. Las dos cosas a la vez solo pasan si P(A) = 0 o P(B) = 0, es decir, si al menos uno es imposible.Mutually exclusive means they cannot happen at the same time. On a die, "a 2" and "a 5". Independent means that knowing one has happened does not change the probability of the other. With two dice, "the first is even" and "the second is a 6": P = 1/2 · 1/6 = 1/12, which is exactly 3 cells out of 36. Now notice: if A and B are mutually exclusive and you know A has happened, the probability of B becomes 0. Knowing A has changed a great deal about what you know of B. That is why two events with positive probability cannot be both mutually exclusive and independent: exclusive forces P(A ∩ B) = 0, independent forces P(A ∩ B) = P(A)·P(B) > 0. Both at once only happen if P(A) = 0 or P(B) = 0, that is, if at least one is impossible.

09 · probabilidad condicionada09 · conditional probability

P(A|B) es reducir el universo a B y mirar qué parte de B es también AP(A|B) is shrinking the universe to B and looking at what part of B is also A

P(A|B) = P(A ∩ B)P(B)  ·  P(A ∩ B) = P(B) · P(A|B) = P(A) · P(B|A)  ·  independientesindependent ⇔ P(A|B) = P(A)

Se lee «probabilidad de A sabiendo que ha ocurrido B». Saber B tacha todo lo que no es B: el nuevo universo es B, y de él solo cuenta la parte que también es A. Con un dado, P(sale 6 | sale par) = (1/6)/(3/6) = 1/3: de los tres pares, uno es el 6. La barra no es una división de sucesos ni es simétrica: P(par | sale 6) = 1, porque si ha salido 6 seguro que es par. Despejando sale la regla del producto, que es la que se usa en los árboles: la probabilidad de «A y B» es la de uno por la del otro sabiendo el primero. Y de ahí la definición de independencia más intuitiva: A y B son independientes si P(A|B) = P(A), saber B no cambia nada. Equivale a P(A ∩ B) = P(A)·P(B). Si son independientes, también lo son A y B, A y B, y A y B.It reads "probability of A given that B has happened". Knowing B crosses out everything that is not B: the new universe is B, and only the part of it that is also A counts. With a die, P(6 | even) = (1/6)/(3/6) = 1/3: of the three even numbers, one is the 6. The bar is not a division of events and is not symmetric: P(even | 6) = 1, because if a 6 has come up it is surely even. Rearranging gives the product rule, the one used in trees: the probability of "A and B" is that of one times that of the other given the first. And from there the most intuitive definition of independence: A and B are independent if P(A|B) = P(A), knowing B changes nothing. It is equivalent to P(A ∩ B) = P(A)·P(B). If they are independent, so are A and B, A and B, and A and B.

10 · tablas y árboles10 · tables and trees

Tabla si te dan cruces de dos características; árbol si el experimento va por etapasA table if you are given two crossed features; a tree if the experiment goes in stages

rama: se multiplica · caminos: se suman · cada nudo suma 1branch: multiply · paths: add · each node sums to 1

Una tabla de contingencia cruza dos clasificaciones (por ejemplo, curso y si hace una actividad) y tiene en cada casilla una intersección. Las condicionadas salen dividiendo una casilla entre el total de su fila o su columna: ese total es el universo reducido. Un árbol sirve cuando hay etapas: primero una urna, luego otra extracción. En cada rama va una probabilidad condicionada a lo de antes; a lo largo de un camino se multiplica; entre caminos que llevan al mismo resultado se suma. Con reemplazamiento, la segunda extracción es igual que la primera. Sin reemplazamiento, el denominador baja en uno y el numerador depende de lo que salió: ahí está la dependencia.A contingency table crosses two classifications (for instance, year group and whether they do an activity) and holds an intersection in each cell. Conditionals come from dividing a cell by the total of its row or column: that total is the shrunken universe. A tree is for stages: first one urn, then another draw. Each branch carries a probability conditional on what came before; along a path you multiply; between paths that lead to the same result you add. With replacement, the second draw is like the first. Without replacement, the denominator drops by one and the numerator depends on what came out: that is where the dependence lies.

11 · probabilidad total y Bayes11 · total probability and Bayes

Total suma caminos; Bayes elige uno de ellos y lo divide entre la totalTotal adds paths; Bayes picks one of them and divides it by the total

P(B) = ∑ P(Ai)·P(B|Ai)  ·  P(Ai|B) = P(Ai)·P(B|Ai)P(B)

Si A1, A2, A3 reparten Ω sin solaparse (por ejemplo, tres máquinas), la probabilidad de B es la suma de los caminos que acaban en B. Bayes da la vuelta a la flecha: sabes que ha pasado B y preguntas de qué camino venía. Se ve mejor en frecuencias naturales: imagina 1.000 personas, reparte por ramas y cuenta. Con una prevalencia del 2 %, una prueba ilustrativa que detecta el 90 % de los enfermos y da falso positivo en el 5 % de los sanos produce 18 positivos verdaderos y 49 falsos. Un positivo es enfermo solo 18 de cada 67 veces, un 27 %.If A1, A2, A3 split Ω without overlapping (for instance, three machines), the probability of B is the sum of the paths ending in B. Bayes turns the arrow round: you know B has happened and ask which path it came from. It is clearer in natural frequencies: imagine 1,000 people, split them along the branches and count. With a prevalence of 2 %, an illustrative test that detects 90 % of the ill and gives a false positive in 5 % of the healthy produces 18 true positives and 49 false ones. A positive is ill only 18 times in 67, about 27 %.

12 · verdadero o falso12 · true or false

Verdadero se demuestra; falso basta con un contraejemploTrue is proved; false needs only a counterexample

Falso: contraejemplo concreto con números. Verdadero: fórmula general o definición.False: a concrete counterexample with numbers. True: a general formula or definition.

Una afirmación de probabilidad es verdadera si se cumple siempre. Para tumbarla basta un caso en el que falle, y el mejor contraejemplo es pequeño: un dado. «P(A ∪ B) = P(A) + P(B)»: falso; con un dado, A = par y B = mayor que 3, P(A ∪ B) = 4/6 pero P(A) + P(B) = 1. Solo vale si son incompatibles. Para decir verdadero no sirve un ejemplo: hay que razonar en general. «Si A y B son incompatibles con P(A) > 0 y P(B) > 0, no son independientes»: verdadero, porque P(A ∩ B) = 0 y P(A)·P(B) > 0. La justificación ideal ocupa dos líneas: el veredicto, y el contraejemplo o la fórmula que lo prueba. Sin justificación, el veredicto suele valer poco o nada; cuánto, puede variar según tu centro.A probability statement is true if it always holds. To knock it down you need one case where it fails, and the best counterexample is small: a die. "P(A ∪ B) = P(A) + P(B)": false; with a die, A = even and B = greater than 3, P(A ∪ B) = 4/6 but P(A) + P(B) = 1. It only holds if they are mutually exclusive. To say true an example is not enough: you must reason in general. "If A and B are mutually exclusive with P(A) > 0 and P(B) > 0, they are not independent": true, because P(A ∩ B) = 0 and P(A)·P(B) > 0. The ideal justification takes two lines: the verdict, and the counterexample or formula that proves it. Without justification the verdict is usually worth little or nothing; how much may vary by school.

Parte 2Part 2

Casos resueltos de probabilidadWorked probability cases

Diez casos propios, del conjunto de números a Bayes. En todos, el primer paso es el mismo: escribir con símbolos qué suceso te piden. Intenta cada uno antes de abrir la solución.Ten cases of our own, from sets of numbers to Bayes. In all of them the first step is the same: write in symbols which event you are asked for. Try each one before opening the solution.

Caso 1: intervalos en la rectaCase 1: intervals on the line

Sean A = [−2, 5), B = {x ∈ ℝ : x es un número mayor que 3} y C = (−∞, 0]. Calcula A ∪ B, A ∩ B, A − B, B − A, A ∩ C, C − A, B ∩ C y el complementario de B.Let A = [−2, 5), B = {x ∈ ℝ : x is a number greater than 3} and C = (−∞, 0]. Find A ∪ B, A ∩ B, A − B, B − A, A ∩ C, C − A, B ∩ C and the complement of B.

Ver la soluciónSee the solution
  1. Traduce B: mayor que 3, sin el 3. B = (3, +∞). Dibuja A, B y C en tres rayas, una encima de otra, sobre la misma recta.Translate B: greater than 3, without 3. B = (3, +∞). Draw A, B and C as three bars, one above the other, over the same line.
  2. A ∪ B: hay raya desde −2 en adelante sin cortes, porque A llega a 5 y B empieza antes, en 3. A ∪ B = [−2, +∞). El 5, que A no tenía, lo pone B.A ∪ B: there is a bar from −2 onwards with no gaps, because A reaches 5 and B starts earlier, at 3. A ∪ B = [−2, +∞). The 5, which A lacked, is supplied by B.
  3. A ∩ B: donde hay dos rayas, entre 3 y 5, sin el 3 (no es de B) y sin el 5 (no es de A). A ∩ B = (3, 5).A ∩ B: where there are two bars, between 3 and 5, without 3 (not in B) and without 5 (not in A). A ∩ B = (3, 5).
  4. A − B: lo de A que no es de B, de −2 a 3. El 3 entra: es de A y no es de B. A − B = [−2, 3]. B − A: lo de B que no es de A, del 5 en adelante, con el 5 dentro porque A no lo tenía. B − A = [5, +∞).A − B: what is in A and not in B, from −2 to 3. The 3 is in: it belongs to A and not to B. A − B = [−2, 3]. B − A: what is in B and not in A, from 5 onwards, with 5 included because A did not have it. B − A = [5, +∞).
  5. A ∩ C = [−2, 0], cerrado en los dos lados porque −2 es de A y 0 es de C y de A. C − A = (−∞, −2): el −2 sale porque es de A. B ∩ C = ∅: uno empieza después de 3 y el otro acaba en 0. El complementario de B es (−∞, 3]: el 3 pasa al otro lado.A ∩ C = [−2, 0], closed on both sides because −2 is in A and 0 is in C and in A. C − A = (−∞, −2): −2 drops out because it belongs to A. B ∩ C = ∅: one starts after 3 and the other ends at 0. The complement of B is (−∞, 3]: the 3 moves to the other side.

Los extremos son donde se pierden los puntos. Regla: un extremo entra en el resultado si cumple la condición de la operación. Comprueba cada extremo uno a uno, no a ojo. El simulador de intervalos de la Parte 3 te deja repetirlo con los tuyos.Endpoints are where the marks are lost. Rule: an endpoint enters the result if it meets the operation's condition. Check each endpoint one by one, not by eye. The interval simulator in Part 3 lets you repeat this with your own.

Caso 2: dos dados y la tabla de 36Case 2: two dice and the 36-cell table

Se lanzan dos dados equilibrados. A = «la suma es múltiplo de 4», B = «sale al menos un 6». Calcula P(A), P(B), P(A ∩ B), P(A ∪ B) y P(A|B).Two fair dice are rolled. A = "the sum is a multiple of 4", B = "at least one 6 comes up". Find P(A), P(B), P(A ∩ B), P(A ∪ B) and P(A|B).

Ver la soluciónSee the solution
  1. Ω: 36 parejas ordenadas equiprobables. (2, 6) y (6, 2) son resultados distintos: un dado es el primero y otro el segundo. Ahí Laplace sí vale.Ω: 36 equally likely ordered pairs. (2, 6) and (6, 2) are different outcomes: one die is the first and the other the second. There Laplace does hold.
  2. A: suma 4, 8 o 12. Suma 4: (1, 3), (2, 2), (3, 1), tres. Suma 8: (2, 6), (3, 5), (4, 4), (5, 3), (6, 2), cinco. Suma 12: (6, 6), una. P(A) = 9/36 = 1/4.A: sum 4, 8 or 12. Sum 4: (1, 3), (2, 2), (3, 1), three. Sum 8: (2, 6), (3, 5), (4, 4), (5, 3), (6, 2), five. Sum 12: (6, 6), one. P(A) = 9/36 = 1/4.
  3. B: la fila del 6 tiene 6 casillas y la columna del 6 otras 6, pero (6, 6) está en las dos. 6 + 6 − 1 = 11. P(B) = 11/36. Es la fórmula de la unión aplicada a contar.B: the row of 6 has 6 cells and the column of 6 another 6, but (6, 6) is in both. 6 + 6 − 1 = 11. P(B) = 11/36. It is the union formula applied to counting.
  4. A ∩ B: de las nueve casillas de A, las que llevan un 6 son (2, 6), (6, 2) y (6, 6). P(A ∩ B) = 3/36 = 1/12.A ∩ B: of the nine cells of A, those with a 6 are (2, 6), (6, 2) and (6, 6). P(A ∩ B) = 3/36 = 1/12.
  5. P(A ∪ B) = 9/36 + 11/36 − 3/36 = 17/36 ≈ 0,472. Se comprueba contando: 17 casillas distintas.P(A ∪ B) = 9/36 + 11/36 − 3/36 = 17/36 ≈ 0.472. Check by counting: 17 different cells.
  6. P(A|B): el universo pasa a las 11 casillas con un 6, y de ellas 3 son de A. P(A|B) = 3/11 ≈ 0,273. Con la fórmula: (3/36)/(11/36), lo mismo.P(A|B): the universe becomes the 11 cells with a 6, and 3 of them are in A. P(A|B) = 3/11 ≈ 0.273. With the formula: (3/36)/(11/36), the same.
1.º \ 2.º1st \ 2nd123456
1234 A567 B
234 A5678 A∩B
34 A5678 A9 B
45678 A910 B
5678 A91011 B
67 B8 A∩B9 B10 B11 B12 A∩B

P(A|B) = 3/11 ≈ 0,273 es mayor que P(A) = 0,25: saber que hay un 6 hace algo más probable una suma múltiplo de 4. A y B no son independientes, aunque se parezcan.P(A|B) = 3/11 ≈ 0.273 is greater than P(A) = 0.25: knowing there is a 6 makes a sum that is a multiple of 4 slightly more likely. A and B are not independent, though they look close.

Caso 3: unión y complementariosCase 3: union and complements

En un grupo imaginario se elige a una persona al azar. A = «estudia alemán», B = «juega al ajedrez». P(A) = 0,45, P(B) = 0,30 y P(A ∪ B) = 0,60. Calcula P(A ∩ B), la probabilidad de que no haga ninguna de las dos cosas, la de que estudie alemán pero no juegue al ajedrez y P(A ∪ B).In an imaginary group one person is picked at random. A = "studies German", B = "plays chess". P(A) = 0.45, P(B) = 0.30 and P(A ∪ B) = 0.60. Find P(A ∩ B), the probability of doing neither, that of studying German but not playing chess, and P(A ∪ B).

Ver la soluciónSee the solution
  1. Despeja la intersección de la fórmula de la unión: P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0,45 + 0,30 − 0,60 = 0,15.Solve the union formula for the intersection: P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.45 + 0.30 − 0.60 = 0.15.
  2. «Ninguna» es A ∩ B. Por De Morgan es el complementario de la unión: 1 − 0,60 = 0,40."Neither" is A ∩ B. By De Morgan it is the complement of the union: 1 − 0.60 = 0.40.
  3. «Alemán pero no ajedrez» es A − B: P(A) − P(A ∩ B) = 0,45 − 0,15 = 0,30."German but not chess" is A − B: P(A) − P(A ∩ B) = 0.45 − 0.15 = 0.30.
  4. P(A ∪ B) es el complementario de la intersección: 1 − 0,15 = 0,85. No es lo mismo que el apartado de «ninguna».P(A ∪ B) is the complement of the intersection: 1 − 0.15 = 0.85. It is not the same as the "neither" part.

Comprobación con las cuatro zonas del Venn: solo A 0,30 + los dos 0,15 + solo B 0,15 + ninguno 0,40 = 1. Si las cuatro zonas no suman 1, algo está mal.Check with the four Venn zones: only A 0.30 + both 0.15 + only B 0.15 + neither 0.40 = 1. If the four zones do not add up to 1, something is wrong.

Caso 4: independientes con datos de ladoCase 4: independent events with sideways data

A y B son independientes. Se sabe que P(B) = 0,3 y P(A ∩ B) = 0,12. Calcula P(A), P(A ∩ B), P(A ∪ B), P(A ∪ B) y P(A − B).A and B are independent. It is known that P(B) = 0.3 and P(A ∩ B) = 0.12. Find P(A), P(A ∩ B), P(A ∪ B), P(A ∪ B) and P(A − B).

Ver la soluciónSee the solution
  1. Los datos vienen «de lado»: complementarios, no A y B. Primero P(B) = 1 − 0,3 = 0,7.The data come "sideways": complements, not A and B. First P(B) = 1 − 0.3 = 0.7.
  2. Si A y B son independientes, también lo son A y B. Entonces P(A ∩ B) = P(A)·P(B): 0,12 = P(A)·0,3, luego P(A) = 0,4 y P(A) = 0,6.If A and B are independent, so are A and B. Then P(A ∩ B) = P(A)·P(B): 0.12 = P(A)·0.3, so P(A) = 0.4 and P(A) = 0.6.
  3. P(A ∩ B) = 0,6·0,7 = 0,42, por independencia.P(A ∩ B) = 0.6·0.7 = 0.42, by independence.
  4. P(A ∪ B) = 0,6 + 0,7 − 0,42 = 0,88. Comprobación por De Morgan: 1 − P(A ∩ B) = 1 − 0,12 = 0,88 ✓.P(A ∪ B) = 0.6 + 0.7 − 0.42 = 0.88. Check by De Morgan: 1 − P(A ∩ B) = 1 − 0.12 = 0.88 ✓.
  5. P(A ∪ B) = 1 − P(A ∩ B) = 0,58. P(A − B) = 0,6 − 0,42 = 0,18, que también es P(A)·P(B) = 0,6·0,3 ✓.P(A ∪ B) = 1 − P(A ∩ B) = 0.58. P(A − B) = 0.6 − 0.42 = 0.18, which is also P(A)·P(B) = 0.6·0.3 ✓.

La clave fue usar la independencia de los complementarios. Si no la recuerdas, se demuestra en una línea: P(A ∩ B) = 1 − P(A) − P(B) + P(A)P(B) = (1 − P(A))(1 − P(B)). En el simulador de Venn tienes este caso como preset.The key was using the independence of the complements. If you do not remember it, it is proved in one line: P(A ∩ B) = 1 − P(A) − P(B) + P(A)P(B) = (1 − P(A))(1 − P(B)). This case is a preset in the Venn simulator.

Caso 5: ¿incompatibles, independientes o ninguna?Case 5: mutually exclusive, independent or neither?

a) P(A) = 0,5, P(B) = 0,4 y P(A ∪ B) = 0,7. b) P(C) = 0,3, P(D) = 0,5 y P(C ∪ D) = 0,8. Clasifica cada pareja.a) P(A) = 0.5, P(B) = 0.4 and P(A ∪ B) = 0.7. b) P(C) = 0.3, P(D) = 0.5 and P(C ∪ D) = 0.8. Classify each pair.

Ver la soluciónSee the solution
  1. a) P(A ∩ B) = 0,5 + 0,4 − 0,7 = 0,2. No es 0: no son incompatibles. P(A)·P(B) = 0,2 = P(A ∩ B): son independientes. Lo confirma P(A|B) = 0,2/0,4 = 0,5 = P(A).a) P(A ∩ B) = 0.5 + 0.4 − 0.7 = 0.2. It is not 0: they are not mutually exclusive. P(A)·P(B) = 0.2 = P(A ∩ B): they are independent. P(A|B) = 0.2/0.4 = 0.5 = P(A) confirms it.
  2. b) P(C ∩ D) = 0,3 + 0,5 − 0,8 = 0. Son incompatibles. P(C)·P(D) = 0,15 ≠ 0: no son independientes. Saber que ha ocurrido C deja la probabilidad de D en 0.b) P(C ∩ D) = 0.3 + 0.5 − 0.8 = 0. They are mutually exclusive. P(C)·P(D) = 0.15 ≠ 0: they are not independent. Knowing C has happened leaves the probability of D at 0.

Primero calcula siempre la intersección. Con ella decides las dos cosas: si vale 0, incompatibles; si vale el producto, independientes; si no es ninguna de las dos, ninguna.Always compute the intersection first. With it you decide both things: if it is 0, mutually exclusive; if it equals the product, independent; if it is neither, neither.

Caso 6: tabla de contingenciaCase 6: contingency table

En un instituto imaginario hay 300 alumnos de 1º. De los 120 de Matemáticas I (M), 72 hacen una actividad extraescolar (E). De los 180 de CCSS I, la hacen 90. Se elige uno al azar. Calcula P(E), P(E|M), P(M|E) y decide si M y E son independientes.In an imaginary school there are 300 Year 12 students. Of the 120 taking Mathematics I (M), 72 do an after-school activity (E). Of the 180 taking Applied Mathematics I, 90 do it. One is picked at random. Find P(E), P(E|M), P(M|E) and decide whether M and E are independent.

Ver la soluciónSee the solution
EETotalTotal
M7248120
M (CCSS)9090180
TotalTotal162138300
  1. Completa la tabla primero: los huecos salen restando de los totales. 120 − 72 = 48; 180 − 90 = 90; 72 + 90 = 162.Fill in the table first: the gaps come from subtracting from the totals. 120 − 72 = 48; 180 − 90 = 90; 72 + 90 = 162.
  2. P(E) = 162/300 = 0,54.P(E) = 162/300 = 0.54.
  3. P(E|M): el universo es la fila M, 120 alumnos. 72/120 = 0,6.P(E|M): the universe is row M, 120 students. 72/120 = 0.6.
  4. P(M|E): el universo es la columna E, 162 alumnos. 72/162 = 4/9 ≈ 0,444. No es lo mismo que P(E|M): cambia el denominador.P(M|E): the universe is column E, 162 students. 72/162 = 4/9 ≈ 0.444. It is not the same as P(E|M): the denominator changes.
  5. Independencia: P(E|M) = 0,6 ≠ P(E) = 0,54. No son independientes. Con la otra fórmula: P(M ∩ E) = 72/300 = 0,24 y P(M)·P(E) = 0,4·0,54 = 0,216. Distintos.Independence: P(E|M) = 0.6 ≠ P(E) = 0.54. They are not independent. With the other formula: P(M ∩ E) = 72/300 = 0.24 and P(M)·P(E) = 0.4·0.54 = 0.216. Different.

Condicionar es elegir fila o columna. Escribe el denominador antes que el numerador y no te equivocarás de universo.Conditioning is choosing a row or a column. Write the denominator before the numerator and you will not pick the wrong universe.

Caso 7: árbol sin reemplazamientoCase 7: tree without replacement

Una urna tiene 5 bolas rojas y 3 azules. Se sacan dos, una detrás de otra, sin devolver la primera. Calcula la probabilidad de sacar dos rojas, la de que la segunda sea roja y la de que las dos sean del mismo color. Compara con el caso con reemplazamiento.An urn has 5 red balls and 3 blue ones. Two are drawn, one after the other, without returning the first. Find the probability of drawing two reds, that of the second being red and that of both being the same colour. Compare with the case with replacement.

Ver la soluciónSee the solution
  1. Primera rama: P(R1) = 5/8, P(A1) = 3/8. Segunda, sin reemplazamiento, quedan 7: tras roja, P(R2|R1) = 4/7 y P(A2|R1) = 3/7; tras azul, P(R2|A1) = 5/7 y P(A2|A1) = 2/7.First branch: P(R1) = 5/8, P(B1) = 3/8. Second, without replacement, 7 are left: after red, P(R2|R1) = 4/7 and P(B2|R1) = 3/7; after blue, P(R2|B1) = 5/7 and P(B2|B1) = 2/7.
  2. Dos rojas: un solo camino, se multiplica. 5/8 · 4/7 = 20/56 = 5/14 ≈ 0,357.Two reds: a single path, multiply. 5/8 · 4/7 = 20/56 = 5/14 ≈ 0.357.
  3. Segunda roja: dos caminos, se suman. 5/8 · 4/7 + 3/8 · 5/7 = 20/56 + 15/56 = 35/56 = 5/8. Es probabilidad total.Second red: two paths, add them. 5/8 · 4/7 + 3/8 · 5/7 = 20/56 + 15/56 = 35/56 = 5/8. It is total probability.
  4. Mismo color: roja y roja, o azul y azul. 20/56 + 3/8 · 2/7 = 20/56 + 6/56 = 26/56 = 13/28 ≈ 0,464.Same colour: red and red, or blue and blue. 20/56 + 3/8 · 2/7 = 20/56 + 6/56 = 26/56 = 13/28 ≈ 0.464.
  5. Con reemplazamiento las extracciones son independientes: dos rojas = 5/8 · 5/8 = 25/64 ≈ 0,391, más que sin reemplazamiento, porque la primera roja no se quita.With replacement the draws are independent: two reds = 5/8 · 5/8 = 25/64 ≈ 0.391, more than without replacement, because the first red is not removed.

Sorpresa útil: P(segunda roja) = 5/8, igual que la primera. Si no sabes qué salió antes, la segunda bola es tan «al azar» como la primera. Lo que cambia la probabilidad es saber lo que salió.Useful surprise: P(second red) = 5/8, the same as the first. If you do not know what came out before, the second ball is as "random" as the first. What changes the probability is knowing what came out.

Caso 8: tres máquinas, probabilidad total y BayesCase 8: three machines, total probability and Bayes

Una fábrica imaginaria tiene tres máquinas. M1 hace el 50 % de las piezas, M2 el 30 % y M3 el 20 %. Salen defectuosas el 2 %, el 3 % y el 5 % de las piezas de cada una. Calcula la probabilidad de que una pieza al azar sea defectuosa y, si lo es, la probabilidad de que venga de cada máquina.An imaginary factory has three machines. M1 makes 50 % of the parts, M2 30 % and M3 20 %. Of each machine's parts, 2 %, 3 % and 5 % are defective. Find the probability that a random part is defective and, if it is, the probability that it comes from each machine.

Ver la soluciónSee the solution
  1. Árbol: tres ramas con 0,5, 0,3 y 0,2, que suman 1. De cada una, D con 0,02, 0,03 y 0,05. Los porcentajes de defectuosas son condicionadas: P(D|M1) = 0,02.Tree: three branches with 0.5, 0.3 and 0.2, which add up to 1. From each one, D with 0.02, 0.03 and 0.05. The defect percentages are conditionals: P(D|M1) = 0.02.
  2. Caminos que acaban en D: 0,5·0,02 = 0,010; 0,3·0,03 = 0,009; 0,2·0,05 = 0,010.Paths ending in D: 0.5·0.02 = 0.010; 0.3·0.03 = 0.009; 0.2·0.05 = 0.010.
  3. Probabilidad total: P(D) = 0,010 + 0,009 + 0,010 = 0,029, un 2,9 %.Total probability: P(D) = 0.010 + 0.009 + 0.010 = 0.029, 2.9 %.
  4. Bayes: P(M1|D) = 0,010/0,029 = 10/29 ≈ 0,345; P(M2|D) = 9/29 ≈ 0,310; P(M3|D) = 10/29 ≈ 0,345. Suman 1, como deben.Bayes: P(M1|D) = 0.010/0.029 = 10/29 ≈ 0.345; P(M2|D) = 9/29 ≈ 0.310; P(M3|D) = 10/29 ≈ 0.345. They add up to 1, as they must.

M3 hace solo el 20 % de las piezas, pero el 34,5 % de las defectuosas. Bayes pesa cada camino por lo que aporta a D, no por lo grande que es la rama.M3 makes only 20 % of the parts but 34.5 % of the defective ones. Bayes weighs each path by what it contributes to D, not by how big the branch is.

Caso 9: Bayes en 1.000 personasCase 9: Bayes in 1,000 people

Una enfermedad imaginaria afecta al 2 % de una población. Una prueba ilustrativa da positivo en el 90 % de los enfermos (sensibilidad) y da negativo en el 95 % de los sanos (especificidad). Una persona da positivo. ¿Qué probabilidad tiene de estar enferma?An imaginary disease affects 2 % of a population. An illustrative test is positive in 90 % of the ill (sensitivity) and negative in 95 % of the healthy (specificity). A person tests positive. What is the probability that they are ill?

Ver la soluciónSee the solution
  1. Frecuencias naturales: de 1.000 personas, 20 están enfermas y 980 sanas.Natural frequencies: of 1,000 people, 20 are ill and 980 healthy.
  2. De las 20 enfermas, el 90 % da positivo: 18 verdaderos positivos y 2 falsos negativos.Of the 20 ill, 90 % test positive: 18 true positives and 2 false negatives.
  3. De las 980 sanas, el 5 % da positivo: 49 falsos positivos y 931 verdaderos negativos.Of the 980 healthy, 5 % test positive: 49 false positives and 931 true negatives.
  4. Positivos en total: 18 + 49 = 67. Enfermos entre ellos: 18. P(E|+) = 18/67 ≈ 0,269.Positives in total: 18 + 49 = 67. Ill among them: 18. P(E|+) = 18/67 ≈ 0.269.
  5. Con la fórmula: P(E|+) = (0,02·0,9)/(0,02·0,9 + 0,98·0,05) = 0,018/0,067 = 18/67. El mismo número, con menos intuición.With the formula: P(E|+) = (0.02·0.9)/(0.02·0.9 + 0.98·0.05) = 0.018/0.067 = 18/67. The same number, with less intuition.

Solo un 26,9 %. Hay tan pocos enfermos que los falsos positivos de los muchos sanos son mayoría. Si la prevalencia sube al 20 %, la misma prueba da un 81,8 %. Pruébalo en el simulador de Bayes.Only 26.9 %. There are so few ill people that the false positives from the many healthy ones are the majority. If the prevalence rises to 20 %, the same test gives 81.8 %. Try it in the Bayes simulator.

Caso 10: al menos unoCase 10: at least one

Se lanza un dado cuatro veces. ¿Cuál es la probabilidad de sacar al menos un 6? ¿Cuántas tiradas hacen falta para que esa probabilidad pase de 0,9?A die is rolled four times. What is the probability of getting at least one 6? How many rolls are needed for that probability to exceed 0.9?

Ver la soluciónSee the solution
  1. «Al menos un 6» incluye uno, dos, tres o cuatro seises: cuatro cuentas largas. Su contrario es uno solo: «ningún 6»."At least one 6" includes one, two, three or four sixes: four long calculations. Its opposite is a single one: "no 6".
  2. Las tiradas son independientes: P(ningún 6) = (5/6)4 = 625/1296 ≈ 0,482.The rolls are independent: P(no 6) = (5/6)4 = 625/1296 ≈ 0.482.
  3. P(al menos un 6) = 1 − 625/1296 = 671/1296 ≈ 0,518.P(at least one 6) = 1 − 625/1296 = 671/1296 ≈ 0.518.
  4. El error típico es sumar 1/6 cuatro veces: 4/6 ≈ 0,667. Con siete tiradas esa suma daría 7/6, más que 1: imposible. Sumar solo vale con sucesos incompatibles, y «6 en la primera» y «6 en la segunda» no lo son.The typical mistake is adding 1/6 four times: 4/6 ≈ 0.667. With seven rolls that sum would give 7/6, more than 1: impossible. Adding only works with mutually exclusive events, and "6 on the first" and "6 on the second" are not.
  5. Para pasar de 0,9 hace falta (5/6)n < 0,1. Probando: con n = 12, 1 − (5/6)12 ≈ 0,888; con n = 13, ≈ 0,907. Hacen falta 13 tiradas.To exceed 0.9 you need (5/6)n < 0.1. Trying: with n = 12, 1 − (5/6)12 ≈ 0.888; with n = 13, ≈ 0.907. 13 rolls are needed.

«Al menos uno» se ataca siempre por el complementario: 1 − P(ninguno). Si sabes logaritmos, n > log 0,1 / log(5/6) ≈ 12,6, y sale lo mismo sin probar."At least one" is always attacked through the complement: 1 − P(none). If you know logarithms, n > log 0.1 / log(5/6) ≈ 12.6, and you get the same without trial and error.

Parte 3Part 3

Simuladores de probabilidad: Venn, Monte Carlo, Bayes, intervalos y verdadero o falsoProbability simulators: Venn, Monte Carlo, Bayes, intervals and true or false

Cinco módulos. Cada uno enseña una idea que en papel cuesta ver: que la probabilidad es un área, que la frecuencia converge, que un positivo no es un diagnóstico, que los extremos de un intervalo importan, y que un verdadero o falso se gana con la justificación.Five modules. Each one teaches an idea that is hard to see on paper: that probability is an area, that frequency converges, that a positive is not a diagnosis, that the endpoints of an interval matter, and that a true or false is won with the justification.

Simulador 1 · Venn y probabilidadesSimulator 1 · Venn and probabilities

Mueve P(A), P(B) y P(A ∩ B) y mira qué sale de ellasMove P(A), P(B) and P(A ∩ B) and see what follows from them

El simulador necesita JavaScript. Sin él, la idea es esta: con P(A), P(B) y P(A ∩ B) sale todo lo demás, y las cuatro zonas del Venn suman 1.The simulator needs JavaScript. Without it, the idea is this: from P(A), P(B) and P(A ∩ B) everything else follows, and the four Venn zones add up to 1.

Prueba esto: elige «Independientes» y mueve P(A ∩ B) un solo paso: deja de serlo. Elige «Incompatibles» y sube P(A ∩ B) desde 0. Intenta poner P(A) = 0,7, P(B) = 0,6 y P(A ∩ B) = 0: el simulador no te deja, porque la unión pasaría de 1. Resalta Ā ∩ B̄ y luego Ā ∪ B̄ para ver De Morgan. Con los presets «de lado», lee cómo se reconstruye lo que falta.Try this: choose "Independent" and move P(A ∩ B) a single step: they stop being so. Choose "Mutually exclusive" and raise P(A ∩ B) from 0. Try setting P(A) = 0.7, P(B) = 0.6 and P(A ∩ B) = 0: the simulator will not let you, because the union would exceed 1. Highlight Ā ∩ B̄ and then Ā ∪ B̄ to see De Morgan. With the "sideways" presets, read how the missing data are rebuilt.

Simulador 2 · Monte CarloSimulator 2 · Monte Carlo

Repite el experimento hasta 100.000 veces y mira cómo converge la frecuenciaRepeat the experiment up to 100,000 times and watch the frequency converge

El simulador necesita JavaScript. Sin él, la idea es esta: con 10 repeticiones la frecuencia relativa baila mucho; con 100.000 se queda a milésimas de la probabilidad teórica.The simulator needs JavaScript. Without it, the idea is this: with 10 repetitions the relative frequency jumps around a lot; with 100,000 it stays within thousandths of the theoretical probability.

Prueba esto: lanza la moneda con N = 10 varias veces y apunta cuánto cambia la frecuencia; luego con N = 100.000. Con dos dados, sigue la suma 7 y luego la suma 2: la de 1/36 tarda más en asentarse. Con la urna, compara «dos rojas» sin y con reemplazamiento: 5/14 ≈ 0,357 frente a 25/64 ≈ 0,391. Y sigue «la segunda es roja» sin reemplazamiento: sale 5/8, como en el caso 7.Try this: toss the coin with N = 10 several times and note how much the frequency changes; then with N = 100,000. With two dice, track sum 7 and then sum 2: the 1/36 one takes longer to settle. With the urn, compare "two reds" without and with replacement: 5/14 ≈ 0.357 against 25/64 ≈ 0.391. And track "the second is red" without replacement: it comes out at 5/8, as in case 7.

Simulador 3 · Bayes en 1.000 personasSimulator 3 · Bayes in 1,000 people

Una prueba inventada, mil cuadraditos y la pregunta de qué significa un positivoA made-up test, a thousand squares and the question of what a positive means

verdadero positivotrue positive   falso negativofalse negative   falso positivofalse positive   verdadero negativotrue negative

El simulador necesita JavaScript. Sin él, la idea es esta: con prevalencia 2 %, sensibilidad 90 % y especificidad 95 %, de 1.000 personas hay 18 positivos verdaderos y 49 falsos, así que P(enfermo | positivo) = 18/67 ≈ 0,27.The simulator needs JavaScript. Without it, the idea is this: with prevalence 2 %, sensitivity 90 % and specificity 95 %, out of 1,000 people there are 18 true positives and 49 false ones, so P(ill | positive) = 18/67 ≈ 0.27.

Prueba esto: con los datos del caso 9, cuenta los cuadraditos rojos frente a los verdes. Sube la especificidad a 99,5 % y mira cuánto mejora el positivo. Ahora deja la prueba como estaba y sube solo la prevalencia al 20 %: la misma prueba pasa de un 27 % a un 82 %. Una prueba no tiene «una» fiabilidad: depende de a quién se la hagas. Los datos son inventados; no describen ninguna prueba real.Try this: with the data from case 9, count the red squares against the green ones. Raise the specificity to 99.5 % and see how much the positive improves. Now leave the test as it was and raise only the prevalence to 20 %: the same test goes from 27 % to 82 %. A test does not have "one" reliability: it depends on whom you give it to. The data are made up; they do not describe any real test.

Simulador 4 · conjuntos e intervalosSimulator 4 · sets and intervals

Escribe dos intervalos y mira la operación en la rectaWrite two intervals and see the operation on the line

A = B =

El simulador necesita JavaScript. Sin él, la idea es esta: dibuja A y B en dos rayas sobre la misma recta y comprueba cada extremo por separado.The simulator needs JavaScript. Without it, the idea is this: draw A and B as two bars over the same line and check each endpoint separately.

Prueba esto: con el caso 1, pasa por las seis operaciones y compara con la solución. En «Se tocan», mira qué pasa con el 4 en la unión, en la intersección y en A − B. Cambia un corchete por un paréntesis y busca qué resultado cambia: solo cambian los que tienen ese extremo. Si pones el extremo izquierdo mayor que el derecho, el intervalo es vacío.Try this: with case 1, go through the six operations and compare with the solution. In "They touch", see what happens to 4 in the union, the intersection and A − B. Change a square bracket for a round one and look for which result changes: only those with that endpoint change. If you set the left endpoint greater than the right one, the interval is empty.

Juego · verdadero o falsoGame · true or false

Decide y lee la justificación: es lo que puntúa en el examenDecide and read the justification: it is what scores in the exam

El juego necesita JavaScript. Ejemplo: «Si A y B son incompatibles, P(A ∪ B) = P(A) + P(B)». Verdadero: P(A ∩ B) = 0 y la fórmula de la unión pierde el último término.The game needs JavaScript. Example: "If A and B are mutually exclusive, P(A ∪ B) = P(A) + P(B)". True: P(A ∩ B) = 0 and the union formula loses its last term.

Prueba esto: antes de pulsar, di en voz alta la justificación en una frase. Si es falso, busca el contraejemplo más pequeño, casi siempre un dado o una moneda. Las afirmaciones salen mezcladas; la racha y el récord se guardan solo en este navegador.Try this: before pressing, say the justification aloud in one sentence. If it is false, look for the smallest counterexample, almost always a die or a coin. The statements come shuffled; the streak and the record are saved only in this browser.

Parte 4Part 4

Errores de probabilidad que cuestan puntosProbability mistakes that cost marks

Conviene saberlo: donde se pierden los puntosGood to know: where the marks are lost

  • P(A ∪ B) = P(A) + P(B) siempre. Solo si son incompatibles. En general se resta P(A ∩ B), que si no la restas cuentas dos veces.P(A ∪ B) = P(A) + P(B) always. Only if they are mutually exclusive. In general you subtract P(A ∩ B), which otherwise you count twice.
  • Tomar incompatibles por independientes. Incompatibles: P(A ∩ B) = 0. Independientes: P(A ∩ B) = P(A)·P(B). Con probabilidades positivas, si es una cosa no es la otra.Taking mutually exclusive for independent. Exclusive: P(A ∩ B) = 0. Independent: P(A ∩ B) = P(A)·P(B). With positive probabilities, if it is one thing it is not the other.
  • Multiplicar sin saber si son independientes. P(A ∩ B) = P(A)·P(B) solo vale con independencia, dada en el enunciado o demostrada. Si no, es P(A)·P(B|A).Multiplying without knowing whether they are independent. P(A ∩ B) = P(A)·P(B) only holds with independence, given in the statement or proved. Otherwise it is P(A)·P(B|A).
  • Confundir P(A|B) con P(B|A). Cambia el universo. P(par | sale 6) = 1 y P(sale 6 | par) = 1/3. En una tabla, una se divide entre la fila y la otra entre la columna.Confusing P(A|B) with P(B|A). The universe changes. P(even | 6) = 1 and P(6 | even) = 1/3. In a table, one is divided by the row and the other by the column.
  • Laplace sin casos equiprobables. Las 11 sumas de dos dados no valen lo mismo: la suma 7 es seis veces más probable que la suma 2. Cuenta en la tabla de 36.Laplace without equally likely cases. The 11 sums of two dice are not worth the same: sum 7 is six times as likely as sum 2. Count in the 36-cell table.
  • Romper De Morgan. El complementario de A ∪ B no es A ∪ B, es A ∩ B. Al negar, el «o» se vuelve «y».Breaking De Morgan. The complement of A ∪ B is not A ∪ B, it is A ∩ B. When negating, "or" turns into "and".
  • A − B igual a P(A) − P(B). P(A − B) = P(A) − P(A ∩ B). Restar P(B) entero quita también la parte de B que nunca estuvo en A, y puede dar negativo.A − B equal to P(A) − P(B). P(A − B) = P(A) − P(A ∩ B). Subtracting all of P(B) also removes the part of B that was never in A, and may come out negative.
  • «Al menos uno» sumando. Cuatro tiradas no dan 4/6 de sacar un 6. Se calcula 1 − P(ninguno) = 1 − (5/6)4 ≈ 0,518."At least one" by adding. Four rolls do not give 4/6 of getting a 6. Compute 1 − P(none) = 1 − (5/6)4 ≈ 0.518.
  • Sin reemplazamiento con el denominador de antes. Tras sacar una bola de 8 quedan 7. Y el numerador depende de lo que salió.Without replacement with the old denominator. After drawing one ball out of 8, 7 are left. And the numerator depends on what came out.
  • Extremos de un intervalo a ojo. «Mayor que 7» es (7, +∞), sin el 7. En A − B, un extremo que era abierto en B pasa a cerrado en el resultado si es de A.Interval endpoints by eye. "Greater than 7" is (7, +∞), without the 7. In A − B, an endpoint that was open in B becomes closed in the result if it belongs to A.
  • Creer una probabilidad negativa o mayor que 1. No existe. Si te sale, el error está antes: casi siempre una intersección mal restada.Believing a negative probability or one above 1. It does not exist. If you get one, the mistake is earlier: almost always an intersection subtracted wrongly.
Parte 5Part 5

Simulacro de probabilidadProbability mock exam

Tres ejercicios, 60 minutos, con calculadora. Son ejercicios propios, del tipo de un examen de 1º, no enunciados de un examen real. Puntúa sobre 10. Da los resultados en fracción o con tres decimales.Three exercises, 60 minutes, with a calculator. These are our own exercises, of the kind found in a Year 12 exam, not questions from a real exam. Marked out of 10. Give results as fractions or to three decimal places.

60:00
NotaScore 0,0 / 10

Ejercicio 1Exercise 1

3 puntos3 points

Di si cada afirmación es verdadera o falsa y justifícalo.State whether each statement is true or false and justify it.

  1. a)(0,75 puntos) Si P(A) = 0,6 y P(B) = 0,5, entonces A y B no pueden ser incompatibles.(0.75 points) If P(A) = 0.6 and P(B) = 0.5, then A and B cannot be mutually exclusive.
  2. b)(0,75 puntos) Si A y B son independientes, entonces A y B también lo son.(0.75 points) If A and B are independent, then A and B are too.
  3. c)(0,75 puntos) Para dos sucesos cualesquiera con probabilidad positiva, P(A|B) = P(B|A).(0.75 points) For any two events with positive probability, P(A|B) = P(B|A).
  4. d)(0,75 puntos) Al lanzar dos dados, la suma 7 y la suma 12 son igual de probables, porque cada una es uno de los 11 resultados posibles de la suma.(0.75 points) When rolling two dice, sum 7 and sum 12 are equally likely, because each is one of the 11 possible results of the sum.
Solución y correcciónSolution and marking
a)

Verdadero. P(A ∩ B) = P(A) + P(B) − P(A ∪ B) ≥ 0,6 + 0,5 − 1 = 0,1, porque P(A ∪ B) ≤ 1. La intersección vale al menos 0,1, así que no puede ser vacía.True. P(A ∩ B) = P(A) + P(B) − P(A ∪ B) ≥ 0.6 + 0.5 − 1 = 0.1, because P(A ∪ B) ≤ 1. The intersection is worth at least 0.1, so it cannot be empty.

b)

Verdadero. P(A ∩ B) = 1 − P(A ∪ B) = 1 − P(A) − P(B) + P(A)·P(B) = (1 − P(A))(1 − P(B)) = P(A)·P(B).True. P(A ∩ B) = 1 − P(A ∪ B) = 1 − P(A) − P(B) + P(A)·P(B) = (1 − P(A))(1 − P(B)) = P(A)·P(B).

c)

Falso. Contraejemplo con un dado: A = «sale 6», B = «sale par». P(A|B) = (1/6)/(3/6) = 1/3, pero P(B|A) = 1. Solo coinciden si P(A) = P(B).False. Counterexample with a die: A = "a 6", B = "even". P(A|B) = (1/6)/(3/6) = 1/3, but P(B|A) = 1. They only coincide if P(A) = P(B).

d)

Falso. Las sumas no son equiprobables y Laplace no se aplica a ellas. En la tabla de 36 casos, la suma 7 sale en 6 casillas y la 12 en una: P(7) = 6/36 = 1/6 y P(12) = 1/36.False. The sums are not equally likely and Laplace does not apply to them. In the 36-cell table, sum 7 comes up in 6 cells and sum 12 in one: P(7) = 6/36 = 1/6 and P(12) = 1/36.

RúbricaRubric0 / 3

Ejercicio 2Exercise 2

3,5 puntos3.5 points

A y B son sucesos independientes con P(B) = 0,45 y P(A ∪ B) = 0,67.A and B are independent events with P(B) = 0.45 and P(A ∪ B) = 0.67.

  1. a)(1 punto) Calcula P(A ∩ B) y P(A).(1 point) Find P(A ∩ B) and P(A).
  2. b)(0,5 puntos) Calcula P(A ∪ B).(0.5 points) Find P(A ∪ B).
  3. c)(0,75 puntos) Calcula P(A ∩ B) de dos formas distintas.(0.75 points) Find P(A ∩ B) in two different ways.
  4. d)(0,5 puntos) Calcula P(A − B) y P(B − A).(0.5 points) Find P(A − B) and P(B − A).
  5. e)(0,75 puntos) Calcula P(A|B) e interpreta el resultado.(0.75 points) Find P(A|B) and interpret the result.
Solución y correcciónSolution and marking
a)

Por De Morgan, A ∪ B es el complementario de A ∩ B: P(A ∩ B) = 1 − 0,67 = 0,33. P(B) = 1 − 0,45 = 0,55. Por independencia, 0,33 = P(A)·0,55, luego P(A) = 0,6.By De Morgan, A ∪ B is the complement of A ∩ B: P(A ∩ B) = 1 − 0.67 = 0.33. P(B) = 1 − 0.45 = 0.55. By independence, 0.33 = P(A)·0.55, so P(A) = 0.6.

b)

P(A ∪ B) = 0,6 + 0,55 − 0,33 = 0,82.P(A ∪ B) = 0.6 + 0.55 − 0.33 = 0.82.

c)

Por De Morgan: 1 − P(A ∪ B) = 1 − 0,82 = 0,18. Por independencia de los complementarios: P(A)·P(B) = 0,4·0,45 = 0,18 ✓.By De Morgan: 1 − P(A ∪ B) = 1 − 0.82 = 0.18. By independence of the complements: P(A)·P(B) = 0.4·0.45 = 0.18 ✓.

d)

P(A − B) = 0,6 − 0,33 = 0,27. B − A = B ∩ A, que es el mismo suceso que A − B: también 0,27. Se comprueba con P(B) − P(A ∩ B) = 0,45 − 0,18 = 0,27.P(A − B) = 0.6 − 0.33 = 0.27. B − A = B ∩ A, which is the same event as A − B: also 0.27. Check with P(B) − P(A ∩ B) = 0.45 − 0.18 = 0.27.

e)

P(A|B) = P(A ∩ B)/P(B) = 0,27/0,45 = 0,6 = P(A). Saber que no ha ocurrido B no cambia la probabilidad de A, como corresponde a sucesos independientes.P(A|B) = P(A ∩ B)/P(B) = 0.27/0.45 = 0.6 = P(A). Knowing that B has not happened does not change the probability of A, as befits independent events.

RúbricaRubric0 / 3,5

Ejercicio 3Exercise 3

3,5 puntos3.5 points

Una tienda en línea imaginaria envía sus pedidos desde dos almacenes. El almacén Norte despacha el 70 % de los pedidos y el Sur el 30 %. Llegan con retraso el 4 % de los pedidos del Norte y el 10 % de los del Sur.An imaginary online shop sends its orders from two warehouses. The North warehouse ships 70 % of the orders and the South 30 %. 4 % of the North's orders and 10 % of the South's arrive late.

  1. a)(0,75 puntos) Dibuja el diagrama de árbol con todas las probabilidades.(0.75 points) Draw the tree diagram with all the probabilities.
  2. b)(1 punto) Calcula la probabilidad de que un pedido elegido al azar llegue con retraso.(1 point) Find the probability that an order chosen at random arrives late.
  3. c)(1 punto) Un pedido ha llegado con retraso. ¿Qué probabilidad hay de que saliera del Sur?(1 point) An order has arrived late. What is the probability that it came from the South?
  4. d)(0,75 puntos) Un pedido ha llegado a tiempo. ¿Qué probabilidad hay de que saliera del Norte? Explica en una frase por qué el resultado de c) es mayor que el 30 %.(0.75 points) An order has arrived on time. What is the probability that it came from the North? Explain in one sentence why the result of c) is greater than 30 %.
Solución y correcciónSolution and marking
a)

Primer nivel: N con 0,7 y S con 0,3. Desde N: R con 0,04 y R con 0,96. Desde S: R con 0,10 y R con 0,90. Cada nudo suma 1.First level: N with 0.7 and S with 0.3. From N: R with 0.04 and R with 0.96. From S: R with 0.10 and R with 0.90. Each node sums to 1.

b)

Probabilidad total: P(R) = 0,7·0,04 + 0,3·0,10 = 0,028 + 0,030 = 0,058. En 1.000 pedidos, 28 + 30 = 58 con retraso.Total probability: P(R) = 0.7·0.04 + 0.3·0.10 = 0.028 + 0.030 = 0.058. In 1,000 orders, 28 + 30 = 58 late.

c)

Bayes: P(S|R) = 0,030/0,058 = 15/29 ≈ 0,517.Bayes: P(S|R) = 0.030/0.058 = 15/29 ≈ 0.517.

d)

P(R) = 1 − 0,058 = 0,942. P(N|R) = 0,7·0,96/0,942 = 0,672/0,942 = 112/157 ≈ 0,713. El Sur despacha menos pedidos, pero se retrasa en una proporción dos veces y media mayor: aporta 30 de los 58 retrasos.P(R) = 1 − 0.058 = 0.942. P(N|R) = 0.7·0.96/0.942 = 0.672/0.942 = 112/157 ≈ 0.713. The South ships fewer orders, but is late in a proportion two and a half times larger: it contributes 30 of the 58 delays.

RúbricaRubric0 / 3,5
Parte 6Part 6

Corrígete túMark it yourself

La rúbrica es nuestra y orientativa. En 1º de Bachillerato no hay criterios oficiales de corrección como en la PAU: cada profesor decide cuánto vale el planteamiento, la notación y el resultado, y eso puede variar según tu centro. Lo que casi siempre cuenta es lo mismo: el suceso escrito con símbolos, la fórmula antes de los números y el resultado comprobado.The rubric is ours and is only a guide. In Year 12 there are no official marking criteria as in the PAU: each teacher decides how much the setting up, the notation and the result are worth, and that may vary by school. What almost always counts is the same: the event written in symbols, the formula before the numbers and the result checked.

Rutina para corregirteSelf-marking routine

  1. Deja de escribir cuando el reloj llegue a 0.Stop writing when the clock reaches 0.
  2. Cambia a un boli de otro color y abre la solución.Switch to a pen of another colour and open the solution.
  3. Marca una línea de la rúbrica solo si tu hoja enseña ese paso. Un resultado bueno sin el suceso escrito o sin la fórmula no se marca entero.Tick a rubric line only if your paper shows that step. A right result without the event written down or without the formula is not ticked in full.
  4. En el verdadero o falso, el veredicto solo vale si va con su justificación. Un «falso» sin contraejemplo se queda en la línea del veredicto.In the true or false, the verdict only counts with its justification. A "false" without a counterexample stays at the verdict line.
  5. Haz las cuatro comprobaciones rápidas: ¿todas las probabilidades están entre 0 y 1? ¿Las cuatro zonas del Venn suman 1? ¿Cada nudo del árbol suma 1? ¿Las probabilidades de Bayes de todas las ramas suman 1?Do the four quick checks: are all probabilities between 0 and 1? Do the four Venn zones add up to 1? Does each tree node sum to 1? Do the Bayes probabilities of all branches add up to 1?
  6. En cada apartado perdido, escribe qué fue: traducción del enunciado, fórmula equivocada (unión sin restar, producto sin independencia) o cuenta. Casi siempre es la traducción.For each part you lost, write what it was: translating the statement, wrong formula (union without subtracting, product without independence) or arithmetic. It is almost always the translation.
  7. Dos días después, rehaz solo los apartados que perdiste, sin mirar, y comprueba los números con el simulador de Venn o el de Bayes.Two days later, redo only the parts you lost, without looking, and check the numbers with the Venn or the Bayes simulator.

Tus marcas se guardan solo en este navegador.Your ticks stay in this browser only.

Primer paso

Empieza a desbloquear tu potencial

Una llamada de 30 minutos conmigo. Gratis. Vemos de dónde partes y a dónde quieres llegar.

¿Una duda antes? Escríbeme por WhatsApp.