1. 경계Endpoints
4000≤x<5000에 4000, 4675, 5000 중 무엇이 포함되는가?
Which of 4000, 4675 and 5000 satisfy 4000≤x<5000?
풀이와 확인할 이유Solution and explanation
4000과 4675가 포함되고 5000은 제외된다. 왼쪽은 ≤, 오른쪽은 <이기 때문이다.
4000 and 4675; the right endpoint 5000 is excluded.
MATH-03 · ALGEBRA
어떤 관측을 고르는지 정확히 말하고, 틀린 주장을 반례로 확인하기Specify which observations qualify and test claims with counterexamples
실습 3종 · 풀이 포함 연습문제 12개3 labs · 12 exercises with solutions
“무거운 펭귄만 보고 싶다”는 말만으로는 같은 표를 만들기 어렵습니다. 사람마다 무겁다는 기준이 다르기 때문입니다. “이 사본에서 질량이 4000g 이상인 관측”이라고 정하면 비교할 기준이 분명해집니다. 4000g이라는 경계는 이번 계산을 위해 정한 기준이며 생물학적으로 정해진 종 구분선은 아닙니다.
첫 행은 3750g이므로 조건에 해당하지 않습니다. 8행은 4675g이므로 해당합니다. 4행은 질량이 비어 있습니다. 여기서 해당하지 않음과 알 수 없음을 구별해야 합니다. 기록이 없다고 4000g보다 작았다고 결론 내릴 수 없습니다.
앞 장에서는 수를 계산했습니다. 이번 장에서는 어떤 수와 관측을 계산에 넣을지 정하는 규칙을 배웁니다. 부등식은 수의 범위를, 집합은 그 조건을 만족하는 대상을, 논리는 조건을 연결하는 방법을 표현합니다. 이런 기초가 자료 정리·확률·최적화의 공통 언어가 됩니다.
선수 학습: 1장의 수·비율과 2장의 변수·등식. 부등식 계산과 집합의 기호를 처음 배우는 독자를 기준으로 설명합니다.
“Show heavier penguins” does not define a reproducible table: different readers may choose different meanings of heavy. “Observations with recorded mass at least 4000g in this copy” states a precise condition. The threshold is chosen for this calculation, not a biological boundary between species.
Row 1 has mass 3750g and fails the condition; row 8 has mass 4675g and satisfies it. Row 4 has no recorded mass. Failing a condition and being unable to evaluate it are different states. A missing value does not establish a mass below 4000g.
The preceding chapters calculated numbers. This chapter develops rules for deciding which numbers and observations enter a calculation. Inequalities express ranges, sets collect qualifying objects, and logic connects conditions. These are shared foundations for data preparation, probability and optimization.
Prerequisites: numbers and ratios in Chapter 1 and variables and equalities in Chapter 2. No prior study of set notation is assumed.
x를 그램으로 쓴 질량의 수치라고 합시다. x>4000은 4000보다 큰 값만, x≥4000은 4000도 포함합니다. x<4000은 4000 미만, x≤4000은 4000 이하입니다. “이상”과 “초과”, “이하”와 “미만”은 바꾸어 쓸 수 없습니다.
가정한 수직선에서 4000 이상을 나타낼 때는 4000에 채운 점을 놓고 오른쪽을 표시합니다. 4000 초과이면 빈 점을 놓습니다. 기호 [4000,∞)는 왼쪽 끝을 포함하는 구간입니다. (4000,∞)는 포함하지 않습니다. 무한대는 실제 끝점 하나가 아니므로 닫는 괄호를 쓰지 않습니다.
위 조건에는 x=4000과 x=4675가 들어가고 x=5000은 들어가지 않습니다. 8행의 실제 질량 4675g은 이 구간에 포함됩니다. 4행의 빈칸을 어떤 구간에 넣을지는 기록만으로 결정되지 않습니다. 숫자가 아닌 상태를 임의로 0으로 바꾸어 범위를 판정하지 마세요.
성적 기준, 법정 연령, 센서의 허용 범위를 코드로 옮길 때 경계가 포함되는지에 따라 분류가 달라집니다. 수학 기호와 안내 문장, 코드의 비교 연산자가 같은 조건을 말하는지 확인하는 습관이 필요합니다. 여기서는 일반적인 예를 든 것이며 특정 제도의 실제 기준을 정하는 것은 아닙니다.
Let x be the numerical mass in grams. The condition x>4000 excludes 4000, while x≥4000 includes it. Similarly, x<4000 and x≤4000 differ at the endpoint. Strict and inclusive comparisons are different rules.
On a number line, use a filled endpoint for at least 4000 and an open endpoint for greater than 4000. The interval [4000,∞) includes its left endpoint; (4000,∞) does not. Infinity is not an ordinary endpoint that can be included.
The condition includes x=4000 and x=4675 but excludes x=5000. Actual row 8, with mass 4675g, lies in the interval. The missing mass in row 4 cannot be assigned to an interval from its record. Replacing an unknown measurement with zero would change the question.
Translating a grade threshold, an age rule or a sensor limit into code requires deciding whether the boundary is included. Check that the mathematical notation, plain-language description and comparison operator express the same rule. These are generic examples, not statements of any particular institution's requirements.
2<5의 양쪽에 3을 더하면 5<8입니다. 양쪽에서 같은 양만큼 움직였으므로 순서가 유지됩니다. 양쪽을 양수 2로 곱하면 4<10으로 역시 유지됩니다. 하지만 −2로 곱하면 −4와 −10입니다. 수직선에서 −4가 더 오른쪽이므로 −4>−10입니다.
이것을 “음수가 나오면 부등호를 바꾼다”라고 외우면 틀리기 쉽습니다. −3<−1에 2를 더해도 부등호는 그대로입니다. 양변을 음수로 곱하거나 나눌 때 순서가 바뀝니다. 단순히 음수라는 항이 식 안에 있다는 이유로 바꾸는 것이 아닙니다.
이유를 차이로 볼 수 있습니다. x<y이면 y−x가 양수입니다. 여기에 음수 a를 곱하면 a(y−x)는 음수입니다. 따라서 ay−ax<0이고 ay<ax입니다. 곧 ax>ay입니다. 양변을 0으로 곱하면 두 값 모두 0이 되어 원래 순서 정보가 사라집니다. 0으로 곱하는 것은 동치인 부등식 변환이 아닙니다.
실습의 음수 값은 질량 자체가 음수라는 주장이 아닙니다. 원래 측정의 수치에 대수적 연산을 적용한 값으로, 순서 규칙을 확인하는 데 사용합니다. 물리적 측정값과 계산 중간값을 구별하세요.
Adding 3 to both sides of 2<5 gives 5<8 and preserves order. Multiplying by positive 2 gives 4<10. Multiplying by −2 instead gives −4 and −10; since −4 is farther right on the number line, −4>−10.
The rule is not “reverse a sign whenever a negative number appears.” Adding 2 to −3<−1 preserves the inequality. Order reverses specifically when both sides are multiplied or divided by a negative number.
If x<y, then y−x is positive. For a<0, the product a(y−x)=ay−ax is negative, so ay<ax. Multiplication by zero makes both sides zero and destroys the original ordering; it is not an equivalent transformation.
The negative values in the lab are algebraically transformed numerical measurements, not negative physical masses. Distinguish measurements from intermediate calculations.
집합은 조건을 만족하는 대상을 모아 놓은 것입니다. 이번에는 펭귄 사본의 행 번호를 원소로 씁니다. A를 “Adelie인 행들의 집합”이라고 하면 1∈A는 1행이 A에 들어간다는 뜻입니다. 종 이름을 모은 집합과 행 번호를 모은 집합은 원소의 종류부터 다르므로 섞으면 안 됩니다.
비교의 전체인 전체집합 U도 정해야 합니다. 종만 세는 경우에는 344행을 쓸 수 있습니다. 그러나 질량 조건을 참·거짓으로 평가하려는 이번 계산에서는 질량이 기록된 342행을 U로 정합니다. 질량 결측 2행은 U 밖에 둡니다. 이것은 결측의 질량이 0이라는 뜻도, 조사에서 존재하지 않았다는 뜻도 아닙니다.
이 U 안에서 A는 Adelie 151행이고 B는 질량이 4000g 이상인 177행입니다. A⊆U는 A의 모든 원소가 U 안에 있다는 뜻입니다. 원소가 하나도 없는 집합은 ∅입니다. 빈집합과 결측값은 다릅니다. ∅는 정해진 범위에서 해당 원소가 없다는 집합이고, 결측은 특정 관측의 값을 모른다는 상태입니다.
A set collects objects satisfying a condition. Here the elements are copy row numbers. If A collects Adelie rows, 1∈A means row 1 belongs to A. A set of species names and a set of row numbers have different kinds of elements and must not be confused.
Define the universe U used for comparison. Species counts can use all 344 rows. For two-valued mass comparisons here, use the 342 recorded masses as U and keep the two missing-mass rows outside U. Exclusion does not assign zero mass or imply that these observations never existed.
Within U, A has 151 Adelie rows and B has 177 rows with mass at least 4000g. The notation A⊆U says every element of A belongs to U. A set with no elements is ∅. An empty set is not a missing value: one records no qualifying elements in a defined scope, while the other records an unknown measurement.
A와 B를 동시에 만족하는 행은 교집합 A∩B입니다. “Adelie이고 질량이 4000g 이상”인 행입니다. 실제 8행은 Adelie, 4675g이므로 두 조건을 모두 만족합니다. 이런 행은 39개입니다. 1행은 Adelie이지만 3750g이라서 교집합에 들어가지 않습니다.
A와 B 중 하나 이상을 만족하면 합집합 A∪B입니다. 수학에서 “또는”은 보통 두 조건을 동시에 만족하는 경우도 포함합니다. “둘 중 딱 하나”를 뜻하려면 따로 써야 합니다. 8행은 A∩B와 A∪B에 모두 들어갑니다.
교집합의 개수 39가 151이나 177보다 큰지 점검해 보세요. 동시에 만족하는 집합은 각 집합 안에 들어가므로 어느 한쪽보다 클 수 없습니다. 합집합의 개수는 어느 한쪽보다 작을 수 없습니다. 이런 간단한 크기 점검은 잘못된 필터를 발견하는 데 도움이 됩니다.
The intersection A∩B contains rows satisfying both conditions: Adelie and mass at least 4000g. Actual row 8 is Adelie with mass 4675g and qualifies. There are 39 such rows. Row 1 is Adelie but has mass 3750g, so it does not belong to the intersection.
The union A∪B contains rows satisfying at least one condition. Mathematical OR normally includes the case where both conditions hold. “Exactly one” needs a separate definition. Row 8 belongs to both the intersection and the union.
An intersection is contained in each participating set, so its count cannot exceed either count. A union cannot be smaller than either participating set. These basic size checks can reveal incorrect data filters.
151+177=328을 합집합 개수라고 쓰면 틀립니다. 두 조건을 모두 만족하는 39행을 A에서도 세고 B에서도 셌기 때문입니다. 한 번만 남기려면 겹친 개수 39를 빼야 합니다. 따라서 합집합은 151+177−39=289행입니다.
세로 막대 |A|는 이 장에서 절댓값이 아니라 집합의 원소 수입니다. 같은 기호도 대상에 따라 뜻이 달라지므로 처음 정의를 읽어야 합니다. 다음 네 칸은 U를 겹치지 않게 나눈 표입니다.
| B: 4000g 이상 | B 아님: 4000g 미만 | 합 | |
|---|---|---|---|
| A: Adelie | 39 | 112 | 151 |
| A 아님 | 138 | 53 | 191 |
| 합 | 177 | 165 | 342 |
교집합은 39, A만은 112, B만은 138, 둘 다 아닌 것은 53입니다. 네 수를 더하면 342입니다. 둘 중 하나 이상은 앞 세 칸 289개이고, 딱 하나만 만족하는 것은 112+138=250개입니다. “또는”의 뜻을 바꾸면 이렇게 결과도 달라집니다.
Adding 151+177=328 double-counts the 39 rows belonging to both A and B. Subtract that overlap once to obtain 289 union rows.
Here |A| denotes the number of elements in a set, rather than the absolute value of a number. The object and definition determine the symbol's meaning. The following four cells partition U without overlap.
| B: at least 4000g | Not B: below 4000g | Total | |
|---|---|---|---|
| A: Adelie | 39 | 112 | 151 |
| Not A | 138 | 53 | 191 |
| Total | 177 | 165 | 342 |
The cells count both (39), A only (112), B only (138) and neither (53), totaling 342. At least one condition holds in 289 rows; exactly one holds in 250. Changing the meaning of OR changes the answer.
A의 여집합 Aᶜ는 U 안에서 A에 들어가지 않는 원소들입니다. 여기서는 질량이 있는 342행 중 Adelie가 아닌 191행입니다. 원래 344행 전체에서 Adelie가 아닌 수 192와 다릅니다. 어느 전체를 쓰는지가 다시 중요해집니다.
B가 x≥4000이라면, 질량을 아는 U에서 Bᶜ는 x<4000입니다. x≤4000이 아닙니다. 경계를 포함하는 쪽은 한 번만 들어가야 두 집합이 겹치지 않고 U 전체를 덮습니다. 결측 두 행을 Bᶜ에 넣으면 “모르는 것”을 “4000g 미만”이라는 관측으로 바꾸게 됩니다.
이것은 드모르간 법칙입니다. “두 조건을 동시에 만족하지 않는다”는 “첫 조건을 만족하지 않거나 둘째를 만족하지 않는다”와 같습니다. 한 행씩 생각해 보면 됩니다. A∩B 밖에 있으려면 적어도 한쪽 조건이 실패해야 합니다. 반대로 한쪽이 실패하면 두 조건을 동시에 만족할 수 없습니다. 양쪽 방향을 모두 확인했으므로 같은 집합입니다.
공식을 외우기 전에 네 칸 표에서 해당 칸을 칠해 보세요. (A∩B)ᶜ는 112+138+53=303행입니다. (A∪B)ᶜ는 둘 다 아닌 53행입니다. 두 식은 겉모양이 비슷하지만 서로 다른 질문입니다.
The complement Aᶜ contains elements of U outside A. Here it contains 191 recorded-mass rows that are not Adelie. This differs from the count of 192 non-Adelie rows among all 344 observations. The chosen universe matters.
For B defined by x≥4000, its complement within recorded masses is x<4000, not x≤4000. The endpoint belongs on one side only. Putting the two unknown masses into Bᶜ would falsely assert that they are below 4000g.
These are De Morgan's laws. To fail both conditions together means failing at least one. For any row outside A∩B, one condition must fail; conversely, a failed condition prevents membership in A∩B. Checking both directions proves equality of the sets.
Shade the four-cell table before memorizing the formulas. The complement of the intersection contains 303 rows, while the complement of the union contains 53. Similar-looking expressions answer different questions.
“Adelie이면 질량이 4000g 이상이다”를 P→Q라고 써 봅시다. P는 Adelie라는 조건, Q는 질량이 4000g 이상이라는 조건입니다. 이 주장을 반박하려면 P는 참인데 Q는 거짓인 한 관측을 찾으면 됩니다. 1행은 Adelie, 3750g이므로 이미 반례입니다. U에서 이런 반례는 112행입니다.
그 역인 “질량이 4000g 이상이면 Adelie다”는 Q→P입니다. 이것도 다른 주장입니다. B만 만족하는 138행이 반례입니다. “A를 만족하는 대상이 B도 만족한다”는 포함 관계 A⊆B와 “A와 B가 같다”는 등식 A=B를 구별해야 합니다.
조건문 P→Q는 P가 참이고 Q가 거짓일 때만 거짓으로 정합니다. P가 거짓인 행은 이 조건문을 반박하지 않습니다. 그래서 조건문의 논리값을 읽을 때 조건 P를 만족한 관측이 실제로 있었는지도 확인해야 합니다. 이런 논리 규칙이 “P가 Q를 일으킨다”라는 인과 주장을 뜻하지는 않습니다.
생물학적 일반화도 실제 행으로 점검할 수 있습니다. “이 사본의 질량 관측 Gentoo는 모두 4000g 이상”이라는 문장은 거짓입니다. 실제 193행은 Gentoo, 3950g입니다. 종 평균이 높다는 사실과 모든 개체가 경계를 넘는다는 사실은 다릅니다.
Write “if Adelie, then mass at least 4000g” as P→Q. A counterexample is one observation where P is true and Q is false. Row 1 is Adelie with mass 3750g, so it already refutes the claim. There are 112 such counterexamples in U.
The converse, “if mass is at least 4000g, then Adelie,” is Q→P, a different claim. Its 138 counterexamples belong to B only. Distinguish containment A⊆B from equality A=B.
An implication P→Q is false only when P holds and Q fails. Rows where P fails do not refute it. Check whether any observations actually satisfy P before interpreting the result. The logical implication itself does not assert that P causes Q.
The observed claim “all recorded-mass Gentoo rows are at least 4000g” is also false: actual row 193 is Gentoo with mass 3950g. A higher group mean does not imply that every group member exceeds a threshold.
“모든”을 나타내는 기호 ∀와 “적어도 하나 존재”를 나타내는 기호 ∃는 주장의 강도를 바꿉니다. “질량 관측 Adelie 중 적어도 하나가 4000g 이상”은 8행만 보여도 확인할 수 있습니다. “그 모든 행이 4000g 이상”은 1행 하나로 반박됩니다.
모든 대상이 만족한다는 말을 부정하려면 적어도 하나의 반례를 찾으면 됩니다. 반대로 “적어도 하나가 만족한다”의 부정은 “아무도 만족하지 않는다”, 즉 모두 만족하지 않는다는 말입니다. ∀와 ∃를 바꾸면서 뒤 조건도 함께 부정해야 합니다.
빈집합의 주의점: 어떤 필터로 관측이 하나도 남지 않았다고 합시다. 논리적으로 “남은 모든 관측이 Q를 만족한다”는 반례가 없어 참으로 취급합니다. 하지만 이는 Q를 만족한 개체를 실제로 보았다는 뜻이 아닙니다. 실습에서 질량 7000g 이상만 남겨 보고, 선택 수 0과 논리 결과를 함께 읽으세요.
이 판단은 사본의 관측된 질량에 대한 것입니다. 기록이 없는 개체나 관측 밖의 모든 펭귄에 대한 주장은 별도의 근거가 필요합니다. 유한한 파일에 대한 전수 확인과 더 넓은 모집단으로의 추론은 다릅니다.
The quantifier ∀ means every element; ∃ means at least one exists. Row 8 establishes that at least one recorded-mass Adelie row has mass at least 4000g. Row 1 refutes the stronger claim that every such row does.
Negating a universal statement requires at least one counterexample. Negating an existence statement says that no element qualifies. Both the quantifier and the condition must change under negation.
Empty sets: if a filter leaves no observations, “all remaining observations satisfy Q” has no counterexamples and is logically true. This does not mean that a qualifying individual was observed. Set the selection threshold to 7000g and inspect both the zero count and the logical result.
These statements concern recorded masses in this copy. Missing measurements and penguins outside the observations require separate evidence. Exhaustively checking a finite file differs from inference about a broader population.
자료 분석에서 필터 한 줄은 결과 전체를 바꿀 수 있습니다. 먼저 문장으로 전체집합과 조건을 적고, 각 조건에 이름을 붙인 뒤 결합하세요. 그 다음 교집합≤각 집합, 합집합≥각 집합, 네 칸의 합=전체 같은 검산을 합니다.
Python과 R의 동반 코드는 결측 질량을 따로 보존한 뒤 342행에서 A와 B를 만듭니다. 네 칸의 개수, 포함·배제 공식, 드모르간 법칙을 실제 행 번호 집합으로 확인합니다. 반례도 전체에서 첫 한 행을 찾아 출력합니다. 빈집합의 논리 결과가 생물학적 증거로 해석되지 않도록 선택 수를 함께 출력합니다.
분석 과제: A를 Gentoo로 바꾸고 B를 4500g 이상으로 정하세요. 전체집합·네 칸의 개수·합집합·교집합·두 조건문의 반례를 보고하세요. 마지막에 344행 전체에서 같은 주장을 할 때 결측 두 행을 어떻게 표시해야 하는지도 설명하세요. 코드를 실행하기 전에 어떤 수가 커질지 먼저 예상하세요.
증명과 자료 검산의 역할도 구별해야 합니다. 342행에서 드모르간 법칙을 확인하는 것은 코드를 점검하는 좋은 방법입니다. 그러나 일반적인 모든 집합에 대한 증명은 앞 절처럼 임의의 원소가 두 식에 들어가는 조건이 같음을 양방향으로 보이는 것입니다. 관측 몇 개의 확인만으로 일반 정리가 증명되는 것은 아닙니다.
A single filtering line can change an analysis. State the universe and conditions in words, name each condition and combine them. Then check intersection bounds, union bounds and the sum of the four cells.
The Python and R companions retain missing masses separately and construct A and B among the 342 recorded masses. They verify cell counts, inclusion–exclusion and De Morgan's laws using actual row-number sets. They print an actual counterexample and accompany empty-set logic with the selection count.
Analysis exercise: redefine A as Gentoo and B as mass at least 4500g. Report the universe, four cells, intersection, union and counterexamples to both implications. Explain how unknown masses should be marked for a claim over all 344 rows. Predict changes before executing the code.
A data check and a proof have different roles. Verifying De Morgan's laws on 342 rows checks the implementation. A general proof shows that an arbitrary element belongs to one expression exactly when it belongs to the other, in both directions. Checking a few observations does not prove a universal mathematical theorem.
자료 묶음을 풀고 코드와 실제데이터 폴더를 함께 두세요. 터미널에서 코드 파일이 있는 폴더로 이동해 아래 명령을 실행합니다. 코딩이 처음이라면 손계산과 웹 실습을 먼저 하고, 데이터 사이언스 입문에서 코드를 배운 뒤 돌아와도 됩니다.Extract the bundle, keeping the scripts beside the data folder. In a terminal, enter the script folder and run the commands below. Beginners can complete hand calculations and browser labs first, returning to code after studying introductory data science.
python math03-reproduce.py
Rscript --vanilla --encoding=UTF-8 math03-reproduce.R결과 파일은 각 코드에 지정된 결과 폴더에 저장됩니다. CSV 원자료는 덮어쓰지 않습니다.Result files are saved in the result directory specified by each script; the input CSVs are not overwritten.
먼저 혼자 풀고 풀이를 여세요. 숫자와 함께 단위·포함 기준·계산 이유를 확인하세요.Attempt each problem before opening its solution. Check units, inclusion rules and the reason for the calculation.
4000≤x<5000에 4000, 4675, 5000 중 무엇이 포함되는가?
Which of 4000, 4675 and 5000 satisfy 4000≤x<5000?
4000과 4675가 포함되고 5000은 제외된다. 왼쪽은 ≤, 오른쪽은 <이기 때문이다.
4000 and 4675; the right endpoint 5000 is excluded.
가정 예시 −3<2의 양변을 −4로 곱하라.
Multiply the assumed inequality −3<2 by −4.
12>−8이다. 양변에 같은 음수를 곱했으므로 순서가 뒤집힌다.
12>−8. Negative multiplication reverses order.
가정 부등식 −2x+3≤11을 풀고 x=−4와 x=0으로 검산하라.
Solve −2x+3≤11 and check −4 and 0.
−2x≤8에서 음수 −2로 나누어 x≥−4. −4를 대입하면 11≤11, 0이면 3≤11로 참이다.
Subtract 3, then divide by −2 to obtain x≥−4. Substitution gives 11≤11 and 3≤11.
4행 질량이 비었으므로 4000g 이상이 아니다: 옳은가?
Does row 4 fail the 4000g threshold because its mass is missing?
옳지 않다. 비교 결과를 알 수 없다. 빈칸을 0이나 거짓으로 채우면 기록에 없는 정보를 만든다.
Its result is unknown. Zero-filling or treating it as a measured failure invents information.
질량 관측 U에서 Adelie 원소 수는 152인가?
Does Adelie have 152 elements in the recorded-mass universe?
151이다. 344행에서 센 152에는 질량 결측 Adelie 한 행이 포함되어 있다.
No: it has 151, after excluding one missing-mass Adelie row.
|A|=151, |B|=177, |A∩B|=39에서 합집합과 딱 하나 조건의 개수는?
Find union and exactly-one counts for 151, 177 and overlap 39.
합집합 151+177−39=289. 딱 하나는 겹침을 양쪽에서 빼서 151+177−2×39=250.
The union has 289 elements; exactly one condition holds in 250.
x≥4000의 여집합을 x≤4000이라고 쓰면 왜 틀리는가?
Why is x≤4000 not the complement of x≥4000?
알려진 질량의 전체에서 여집합은 x<4000이다. x=4000을 두 쪽 모두에 넣으면 여집합의 정의와 어긋난다.
Within known masses the complement is x<4000; otherwise the endpoint belongs to both sets.
A∩B에 들어가지 않는 행 수와 A∪B에 들어가지 않는 행 수를 구하라.
Count rows outside the intersection and outside the union.
342−39=303과 342−289=53이다. 첫 값은 적어도 한 조건이 실패, 둘째는 두 조건이 모두 실패한 수다.
They are 303 and 53, respectively: at least one failure versus both failures.
Adelie이면 4000g 이상이라는 주장에 실제 반례 하나를 제시하라.
Give an actual counterexample to Adelie implies mass at least 4000g.
1행은 Adelie이고 3750g으로, 앞 조건은 참이고 뒤 조건은 거짓이다.
Row 1 is Adelie with mass 3750g: true antecedent and false consequent.
Gentoo 평균이 높으므로 모두 4000g 이상이라고 말해도 되는가?
Does a high Gentoo mean establish that all recorded masses exceed 4000g?
193행 Gentoo는 3950g이므로 반례다. 평균은 모든 관측의 하한을 뜻하지 않는다.
No. Actual row 193 is Gentoo with mass 3950g. A mean is not a lower bound on every observation.
선택된 행이 0개인데 모든 선택 행이 기준을 만족한다고 출력되면 무엇을 보고해야 하는가?
How should a true universal statement over zero selected rows be reported?
반례가 없는 빈집합의 논리 결과임과 선택 수 0을 함께 쓴다. 실제 만족 관측이 있었다는 증거로 쓰지 않는다.
Report the zero count and the absence of counterexamples; do not claim that a qualifying observation was witnessed.
자료에서 몇 번 확인하는 것과 집합 항등식의 일반 증명이 어떻게 다른가?
How does checking observed rows differ from a general set proof?
자료 확인은 선택한 유한 원소에서 코드가 맞는지 점검한다. 일반 증명은 임의의 원소가 양변 중 하나에 속하면 다른 쪽에도 속함을 양방향으로 보인다.
A data check tests the implementation on its finite inputs. A proof establishes membership equivalence for an arbitrary element in both directions.
Horst, Hill & Gorman (2020), palmerpenguins · Gorman, Williams & Fraser (2014) · CC0 · 2007–2009
자료별 확보일·원행 식별·단위·이용 조건은 출처 기록을 확인하세요. 학습 사본은 제공처의 현재 최신 자료와 다를 수 있습니다.Consult each source record for retrieval dates, row identifiers, units and terms. Teaching copies can differ from current provider releases.
자료사전·출처·이용 조건Data dictionary, sources and terms